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