TypeScript/tests/baselines/reference/taggedTemplateStringsWithTagNamedDeclare.types
2015-06-04 14:20:29 -07:00

15 lines
364 B
Text

=== tests/cases/conformance/es6/templates/taggedTemplateStringsWithTagNamedDeclare.ts ===
function declare(x: any, ...ys: any[]) {
>declare : (x: any, ...ys: any[]) => void
>x : any
>ys : any[]
}
declare `Hello ${0} world!`;
>declare `Hello ${0} world!` : void
>declare : (x: any, ...ys: any[]) => void
>`Hello ${0} world!` : string
>0 : number