3 lines
116 B
TypeScript
3 lines
116 B
TypeScript
|
// @strict: true
|
||
|
const item: { foo?: undefined } | { foo: number } = null as any as { foo?: number | undefined };
|