mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
322 B
TypeScript
14 lines
322 B
TypeScript
//// [tests/cases/conformance/parser/ecmascript5/Generics/parserGenericsInInterfaceDeclaration1.ts] ////
|
|
|
|
//// [parserGenericsInInterfaceDeclaration1.ts]
|
|
interface I<T> {
|
|
v: A<T>;
|
|
f1<T>(): T;
|
|
f2?<T>(): T;
|
|
<T>(): void;
|
|
new <T>(): void;
|
|
}
|
|
|
|
//// [parserGenericsInInterfaceDeclaration1.js]
|
|
"use strict";
|