11 lines
199 B
JavaScript
11 lines
199 B
JavaScript
//// [parserGenericsInInterfaceDeclaration1.ts]
|
|
interface I<T> {
|
|
v: A<T>;
|
|
f1<T>(): T;
|
|
f2?<T>(): T;
|
|
<T>(): void;
|
|
new <T>(): void;
|
|
}
|
|
|
|
//// [parserGenericsInInterfaceDeclaration1.js]
|