mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
9 lines
257 B
Plaintext
9 lines
257 B
Plaintext
arraySlice.ts(2,1): error TS2454: Variable 'arr' is used before being assigned.
|
|
|
|
|
|
==== arraySlice.ts (1 errors) ====
|
|
var arr: string[] | number[];
|
|
arr.splice(1, 1);
|
|
~~~
|
|
!!! error TS2454: Variable 'arr' is used before being assigned.
|
|
|