// @strict: true const item: { foo?: undefined } | { foo: number } = null as any as { foo?: number | undefined };