6e77e2e810
Also got rid of the 'terminalMessages' concept.
9 lines
No EOL
459 B
Text
9 lines
No EOL
459 B
Text
tests/cases/compiler/contextualTyping5.ts(1,13): error TS2323: Type '{}' is not assignable to type '{ id: number; }'.
|
|
Property 'id' is missing in type '{}'.
|
|
|
|
|
|
==== tests/cases/compiler/contextualTyping5.ts (1 errors) ====
|
|
class foo { public bar:{id:number;} = { }; }
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
!!! error TS2323: Type '{}' is not assignable to type '{ id: number; }'.
|
|
!!! error TS2323: Property 'id' is missing in type '{}'. |