2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/dontShowCompilerGeneratedMembers.ts(3,6): error TS1139: Type parameter declaration expected.
|
|
|
|
tests/cases/compiler/dontShowCompilerGeneratedMembers.ts(4,1): error TS1109: Expression expected.
|
2014-11-05 21:26:03 +01:00
|
|
|
tests/cases/compiler/dontShowCompilerGeneratedMembers.ts(1,5): error TS2322: Type 'number' is not assignable to type '{ (): any; x: number; }'.
|
2014-09-12 22:35:07 +02:00
|
|
|
Property 'x' is missing in type 'Number'.
|
|
|
|
|
|
|
|
|
2014-11-19 09:11:59 +01:00
|
|
|
==== tests/cases/compiler/dontShowCompilerGeneratedMembers.ts (3 errors) ====
|
2014-07-13 01:04:16 +02:00
|
|
|
var f: {
|
2014-07-19 02:30:06 +02:00
|
|
|
~
|
2014-11-05 21:26:03 +01:00
|
|
|
!!! error TS2322: Type 'number' is not assignable to type '{ (): any; x: number; }'.
|
|
|
|
!!! error TS2322: Property 'x' is missing in type 'Number'.
|
2014-07-13 01:04:16 +02:00
|
|
|
x: number;
|
|
|
|
<-
|
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1139: Type parameter declaration expected.
|
2014-07-13 01:04:16 +02:00
|
|
|
};
|
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1109: Expression expected.
|