TypeScript/tests/cases/compiler/intersectionTypeWithLeadingOperator.ts
2016-11-20 22:26:32 +01:00

7 lines
135 B
TypeScript

type A = & string;
type B =
& { foo: string }
& { bar: number };
type C = [& { foo: 1 } & { bar: 2 }, & { foo: 3 } & { bar: 4 }];