14 lines
No EOL
440 B
Text
14 lines
No EOL
440 B
Text
==== tests/cases/compiler/ClassDeclaration25.ts (2 errors) ====
|
|
interface IList<T> {
|
|
data(): T;
|
|
next(): string;
|
|
}
|
|
class List<U> implements IList<U> {
|
|
data(): U;
|
|
~~~~
|
|
!!! Function implementation is missing or not immediately following the declaration.
|
|
next(): string;
|
|
~~~~
|
|
!!! Function implementation is missing or not immediately following the declaration.
|
|
}
|
|
|