mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Added test case.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
export function tag(parts: TemplateStringsArray, ...values: any[]) {
|
||||
return parts[0];
|
||||
}
|
||||
function foo() {
|
||||
tag `foo`;
|
||||
tag `foo2`;
|
||||
}
|
||||
|
||||
function bar() {
|
||||
tag `bar`;
|
||||
tag `bar2`;
|
||||
}
|
||||
|
||||
foo();
|
||||
bar();
|
||||
Reference in New Issue
Block a user