4 lines
104 B
TypeScript
4 lines
104 B
TypeScript
|
// @strictNullChecks: true
|
||
|
const x: Object | string = { x: 0 };
|
||
|
const y: Object | undefined = { x: 0 };
|