16 lines
No EOL
436 B
Text
16 lines
No EOL
436 B
Text
==== tests/cases/compiler/dontShowCompilerGeneratedMembers.ts (5 errors) ====
|
|
var f: {
|
|
~
|
|
!!! Type 'number' is not assignable to type '{ <>(): any; x: number; }':
|
|
!!! Property 'x' is missing in type 'Number'.
|
|
x: number;
|
|
<-
|
|
~
|
|
!!! Type parameter list cannot be empty.
|
|
~
|
|
!!! '(' expected.
|
|
~
|
|
!!! Type parameter declaration expected.
|
|
};
|
|
~
|
|
!!! Expression expected. |