mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
363 B
TypeScript
16 lines
363 B
TypeScript
//// [tests/cases/compiler/elaboratedErrorsOnNullableTargets01.ts] ////
|
|
|
|
//// [elaboratedErrorsOnNullableTargets01.ts]
|
|
export declare let x: null | { foo: { bar: string | null } | undefined } | undefined;
|
|
export declare let y: { foo: { bar: number | undefined } };
|
|
|
|
x = y;
|
|
|
|
y = x;
|
|
|
|
|
|
//// [elaboratedErrorsOnNullableTargets01.js]
|
|
x = y;
|
|
y = x;
|
|
export {};
|