11 lines
No EOL
510 B
Text
11 lines
No EOL
510 B
Text
tests/cases/compiler/assignmentRestElementWithErrorSourceType.ts(2,5): error TS2304: Cannot find name 'c'.
|
|
tests/cases/compiler/assignmentRestElementWithErrorSourceType.ts(2,10): error TS2304: Cannot find name 'tupel'.
|
|
|
|
|
|
==== tests/cases/compiler/assignmentRestElementWithErrorSourceType.ts (2 errors) ====
|
|
var tuple: [string, number];
|
|
[...c] = tupel; // intentionally misspelled
|
|
~
|
|
!!! error TS2304: Cannot find name 'c'.
|
|
~~~~~
|
|
!!! error TS2304: Cannot find name 'tupel'. |