13 lines
212 B
Text
13 lines
212 B
Text
=== tests/cases/compiler/letInNonStrictMode.ts ===
|
|
let [x] = [1];
|
|
>x : number
|
|
>[1] : [number]
|
|
>1 : number
|
|
|
|
let {a: y} = {a: 1};
|
|
>a : any
|
|
>y : number
|
|
>{a: 1} : { a: number; }
|
|
>a : number
|
|
>1 : number
|
|
|