TypeScript/tests/baselines/reference/taggedTemplateStringsWithUnicodeEscapesES6.types

13 lines
431 B
Plaintext
Raw Normal View History

=== tests/cases/compiler/taggedTemplateStringsWithUnicodeEscapesES6.ts ===
function f(...args: any[]) {
>f : (...args: any[]) => void
>args : any[]
}
f `'\u{1f4a9}'${ " should be converted to " }'\uD83D\uDCA9'`;
2015-04-13 21:36:11 +02:00
>f `'\u{1f4a9}'${ " should be converted to " }'\uD83D\uDCA9'` : void
>f : (...args: any[]) => void
2015-04-13 21:36:11 +02:00
>`'\u{1f4a9}'${ " should be converted to " }'\uD83D\uDCA9'` : string
>" should be converted to " : string