TypeScript/tests/cases/compiler/ClassDeclaration25.ts

9 lines
139 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
interface IList<T> {
data(): T;
next(): string;
}
class List<U> implements IList<U> {
data(): U;
next(): string;
}