19 lines
287 B
Plaintext
19 lines
287 B
Plaintext
=== tests/cases/conformance/types/tuple/wideningTuples6.ts ===
|
|
var [a, b] = [undefined, null];
|
|
>a : any
|
|
>b : any
|
|
>[undefined, null] : [undefined, null]
|
|
>undefined : undefined
|
|
>null : null
|
|
|
|
a = "";
|
|
>a = "" : ""
|
|
>a : any
|
|
>"" : ""
|
|
|
|
b = "";
|
|
>b = "" : ""
|
|
>b : any
|
|
>"" : ""
|
|
|