mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
684 B
Plaintext
14 lines
684 B
Plaintext
error TS5102: Option 'downlevelIteration' has been removed. Please remove it from your configuration.
|
|
destructuringArrayBindingPatternAndAssignment4.ts(5,7): error TS2488: Type 'number[] | null' must have a '[Symbol.iterator]()' method that returns an iterator.
|
|
|
|
|
|
!!! error TS5102: Option 'downlevelIteration' has been removed. Please remove it from your configuration.
|
|
==== destructuringArrayBindingPatternAndAssignment4.ts (1 errors) ====
|
|
// #35497
|
|
|
|
|
|
declare const data: number[] | null;
|
|
const [value] = data; // Error
|
|
~~~~~~~
|
|
!!! error TS2488: Type 'number[] | null' must have a '[Symbol.iterator]()' method that returns an iterator.
|
|
|