mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
452 B
Plaintext
13 lines
452 B
Plaintext
//// [tests/cases/compiler/exportArrayBindingPattern.ts] ////
|
|
|
|
=== exportArrayBindingPattern.ts ===
|
|
// issue: https://github.com/Microsoft/TypeScript/issues/10778
|
|
const [a, , b] = [1, 2, 3];
|
|
>a : Symbol(a, Decl(exportArrayBindingPattern.ts, 1, 7))
|
|
>b : Symbol(b, Decl(exportArrayBindingPattern.ts, 1, 11))
|
|
|
|
export { a, b };
|
|
>a : Symbol(a, Decl(exportArrayBindingPattern.ts, 2, 8))
|
|
>b : Symbol(b, Decl(exportArrayBindingPattern.ts, 2, 11))
|
|
|