11 lines
234 B
Plaintext
11 lines
234 B
Plaintext
|
=== tests/cases/conformance/types/typeRelationships/widenedTypes/initializersWidened.ts ===
|
||
|
// these are widened to any at the point of assignment
|
||
|
|
||
|
var x = null;
|
||
|
>x : any
|
||
|
|
||
|
var y = undefined;
|
||
|
>y : any
|
||
|
>undefined : undefined
|
||
|
|