mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
513 B
Plaintext
12 lines
513 B
Plaintext
//// [tests/cases/compiler/arraySlice.ts] ////
|
|
|
|
=== arraySlice.ts ===
|
|
var arr: string[] | number[];
|
|
>arr : Symbol(arr, Decl(arraySlice.ts, 0, 3))
|
|
|
|
arr.splice(1, 1);
|
|
>arr.splice : Symbol(Array.splice, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
|
>arr : Symbol(arr, Decl(arraySlice.ts, 0, 3))
|
|
>splice : Symbol(Array.splice, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
|
|