TypeScript/tests/cases/compiler/literalIntersectionYieldsLiteral.ts

2 lines
70 B
TypeScript
Raw Normal View History

2017-12-13 20:03:37 +01:00
const x: { type: string } & { type: "string" } = { type: "string" };