mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-10 21:07:52 -05:00
Accepted baselines.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
//// [taggedTemplateUntypedTagCall01.ts]
|
||||
var tag: Function;
|
||||
tag `Hello world!`;
|
||||
|
||||
//// [taggedTemplateUntypedTagCall01.js]
|
||||
var tag;
|
||||
(_a = ["Hello world!"], _a.raw = ["Hello world!"], tag(_a));
|
||||
var _a;
|
||||
@@ -0,0 +1,8 @@
|
||||
=== tests/cases/conformance/es6/templates/taggedTemplateUntypedTagCall01.ts ===
|
||||
var tag: Function;
|
||||
>tag : Symbol(tag, Decl(taggedTemplateUntypedTagCall01.ts, 0, 3))
|
||||
>Function : Symbol(Function, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
|
||||
|
||||
tag `Hello world!`;
|
||||
>tag : Symbol(tag, Decl(taggedTemplateUntypedTagCall01.ts, 0, 3))
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
=== tests/cases/conformance/es6/templates/taggedTemplateUntypedTagCall01.ts ===
|
||||
var tag: Function;
|
||||
>tag : Function
|
||||
>Function : Function
|
||||
|
||||
tag `Hello world!`;
|
||||
>tag `Hello world!` : any
|
||||
>tag : Function
|
||||
>`Hello world!` : string
|
||||
|
||||
Reference in New Issue
Block a user