Added test.

This commit is contained in:
Daniel Rosenwasser
2019-03-27 23:18:49 -07:00
parent b7881a26a0
commit 6a244b9058

View File

@@ -0,0 +1,10 @@
// @noEmit: true
export type Common = { test: true } | { test: false };
export type A = Common & { foo: 1 };
export type B = Common & { bar: 1 };
declare const a: A;
declare let b: B;
b = a;