* Allow boolean literals to be generated from contextual types again * Update fourslash test
15 lines
305 B
Plaintext
15 lines
305 B
Plaintext
=== tests/cases/conformance/es6/for-ofStatements/for-of36.ts ===
|
|
var tuple: [string, boolean] = ["", true];
|
|
>tuple : [string, boolean]
|
|
>["", true] : [string, true]
|
|
>"" : ""
|
|
>true : true
|
|
|
|
for (var v of tuple) {
|
|
>v : string | boolean
|
|
>tuple : [string, boolean]
|
|
|
|
v;
|
|
>v : string | boolean
|
|
}
|