mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 20:22:26 +03:00
10 lines
345 B
TypeScript
10 lines
345 B
TypeScript
declare function tag(...x: any[]): any;
|
|
|
|
var a = `${123 + 456 as number}`;
|
|
var b = `leading ${123 + 456 as number}`;
|
|
var c = `${123 + 456 as number} trailing`;
|
|
var d = `Hello ${123} World` as string;
|
|
var e = `Hello` as string;
|
|
var f = 1 + `${1} end of string` as string;
|
|
var g = tag `Hello ${123} World` as string;
|
|
var h = tag `Hello` as string; |