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