TypeScript/tests/baselines/reference/parserObjectCreation1.errors.txt

5 lines
291 B
Plaintext

==== tests/cases/conformance/parser/ecmascript5/Generics/parserObjectCreation1.ts (1 errors) ====
var autoToken: number[] = new Array<number[]>(1);
~~~~~~~~~
!!! Type 'number[][]' is not assignable to type 'number[]':
!!! Type 'number[]' is not assignable to type 'number'.