11 lines
510 B
Plaintext
11 lines
510 B
Plaintext
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'. |