Type Instantiation
class Foo<T>{
foo: T;
}class Foo<T>{
foo: T;
}
let FooNumber = Foo as { new ():Foo<number> }; // ref 1継承
class FooNumber extends Foo<number>{}function id<T>(x: T) { return x; }
const idNum = id as {(x:number):number};最終更新