TypeScript/tests/cases/compiler/literalIntersectionYieldsLiteral.ts
2017-12-13 11:03:37 -08:00

2 lines
70 B
TypeScript

const x: { type: string } & { type: "string" } = { type: "string" };