15 lines
248 B
TypeScript
15 lines
248 B
TypeScript
//// [genericInterfacesWithoutTypeArguments.ts]
|
|
interface I<T> { }
|
|
class C<T> { }
|
|
var i: I;
|
|
var c: C<I>;
|
|
|
|
|
|
//// [genericInterfacesWithoutTypeArguments.js]
|
|
var C = (function () {
|
|
function C() {
|
|
}
|
|
return C;
|
|
})();
|
|
var i;
|
|
var c;
|