1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
=== tests/cases/conformance/types/stringLiteral/stringLiteralTypesWithTemplateStrings01.ts ===
let ABC: "ABC" = `ABC`;
>ABC : Symbol(ABC, Decl(stringLiteralTypesWithTemplateStrings01.ts, 0, 3))
let DE_NEWLINE_F: "DE\nF" = `DE
>DE_NEWLINE_F : Symbol(DE_NEWLINE_F, Decl(stringLiteralTypesWithTemplateStrings01.ts, 1, 3))
F`;
let G_QUOTE_HI: 'G"HI';
>G_QUOTE_HI : Symbol(G_QUOTE_HI, Decl(stringLiteralTypesWithTemplateStrings01.ts, 3, 3))
let JK_BACKTICK_L: "JK`L" = `JK\`L`;
>JK_BACKTICK_L : Symbol(JK_BACKTICK_L, Decl(stringLiteralTypesWithTemplateStrings01.ts, 4, 3))
|