15 lines
364 B
Text
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
|
|
|