Files
tsgo/testdata/tests/cases/compiler/exportDestructuring.ts

7 lines
105 B
TypeScript

// @target: esnext
// @module: commonjs
// @strict: true
const arr = [1, 2];
export const [a, b] = arr;