TypeScript/tests/baselines/reference/taggedTemplateStringsWithUnicodeEscapes.types

13 lines
428 B
Plaintext
Raw Normal View History

=== tests/cases/compiler/taggedTemplateStringsWithUnicodeEscapes.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