TypeScript/tests/cases/compiler/elaboratedErrorsOnNullableTargets01.ts
2018-06-28 22:36:59 -07:00

9 lines
180 B
TypeScript

// @strict: true
export declare let x: null | { foo: { bar: string | null } | undefined } | undefined;
export declare let y: { foo: { bar: number | undefined } };
x = y;
y = x;