TypeScript/tests/baselines/reference/parserClassDeclaration25.js
2014-07-12 17:30:19 -07:00

18 lines
289 B
TypeScript

//// [parserClassDeclaration25.ts]
interface IList<T> {
data(): T;
next(): string;
}
class List<U> implements IList<U> {
data(): U;
next(): string;
}
//// [parserClassDeclaration25.js]
var List = (function () {
function List() {
}
return List;
})();