67 lines
1.2 KiB
Text
67 lines
1.2 KiB
Text
|
=== tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagsTypedAsAnyES6.ts ===
|
||
|
var f: any;
|
||
|
>f : any
|
||
|
|
||
|
f `abc`
|
||
|
>f : any
|
||
|
|
||
|
f `abc${1}def${2}ghi`;
|
||
|
>f : any
|
||
|
|
||
|
f.g.h `abc`
|
||
|
>f.g.h : any
|
||
|
>f.g : any
|
||
|
>f : any
|
||
|
>g : any
|
||
|
>h : any
|
||
|
|
||
|
f.g.h `abc${1}def${2}ghi`;
|
||
|
>f.g.h : any
|
||
|
>f.g : any
|
||
|
>f : any
|
||
|
>g : any
|
||
|
>h : any
|
||
|
|
||
|
f `abc`.member
|
||
|
>f `abc`.member : any
|
||
|
>f : any
|
||
|
>member : any
|
||
|
|
||
|
f `abc${1}def${2}ghi`.member;
|
||
|
>f `abc${1}def${2}ghi`.member : any
|
||
|
>f : any
|
||
|
>member : any
|
||
|
|
||
|
f `abc`["member"];
|
||
|
>f `abc`["member"] : any
|
||
|
>f : any
|
||
|
|
||
|
f `abc${1}def${2}ghi`["member"];
|
||
|
>f `abc${1}def${2}ghi`["member"] : any
|
||
|
>f : any
|
||
|
|
||
|
f `abc`["member"].someOtherTag `abc${1}def${2}ghi`;
|
||
|
>f `abc`["member"].someOtherTag : any
|
||
|
>f `abc`["member"] : any
|
||
|
>f : any
|
||
|
>someOtherTag : any
|
||
|
|
||
|
f `abc${1}def${2}ghi`["member"].someOtherTag `abc${1}def${2}ghi`;
|
||
|
>f `abc${1}def${2}ghi`["member"].someOtherTag : any
|
||
|
>f `abc${1}def${2}ghi`["member"] : any
|
||
|
>f : any
|
||
|
>someOtherTag : any
|
||
|
|
||
|
f.thisIsNotATag(`abc`);
|
||
|
>f.thisIsNotATag(`abc`) : any
|
||
|
>f.thisIsNotATag : any
|
||
|
>f : any
|
||
|
>thisIsNotATag : any
|
||
|
|
||
|
f.thisIsNotATag(`abc${1}def${2}ghi`);
|
||
|
>f.thisIsNotATag(`abc${1}def${2}ghi`) : any
|
||
|
>f.thisIsNotATag : any
|
||
|
>f : any
|
||
|
>thisIsNotATag : any
|
||
|
|