10 lines
234 B
Text
10 lines
234 B
Text
=== 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
|
|
|