mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
285 B
TypeScript
18 lines
285 B
TypeScript
//// [tests/cases/compiler/ClassDeclaration25.ts] ////
|
|
|
|
//// [ClassDeclaration25.ts]
|
|
interface IList<T> {
|
|
data(): T;
|
|
next(): string;
|
|
}
|
|
class List<U> implements IList<U> {
|
|
data(): U;
|
|
next(): string;
|
|
}
|
|
|
|
|
|
//// [ClassDeclaration25.js]
|
|
"use strict";
|
|
class List {
|
|
}
|