How to write generics in extern class?

how to write generics in extern class?

package;


extern class TestJs 
{

	 @:generic public static function GetComponent<T>() : T;
	
}

class Main {
	static function main() {
		var s:String = TestJs.GetComponent<String>();//it's error? how to write like C# here?
	}
}

Haxe’s grammar does not support explicit type parameters in function calls (except for constructors).