TypeScript/tests/baselines/reference/taggedTemplatesWithIncompleteTemplateExpressions5.types
Daniel Rosenwasser cce4bfbc7c
Revert changes for template literal types, keeping tests. (#42588)
* Revert changes for template literal types, keeping tests.

* Update Baselines and/or Applied Lint Fixes

Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
2021-02-03 14:49:03 -08:00

18 lines
506 B
Plaintext

=== tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions5.ts ===
function f(x: TemplateStringsArray, y: string, z: string) {
>f : (x: TemplateStringsArray, y: string, z: string) => void
>x : TemplateStringsArray
>y : string
>z : string
}
// Incomplete call, but too many parameters.
f `123qdawdrqw${ 1 }${ 2 }${
>f `123qdawdrqw${ 1 }${ 2 }${ : void
>f : (x: TemplateStringsArray, y: string, z: string) => void
>`123qdawdrqw${ 1 }${ 2 }${ : string
>1 : 1
>2 : 2
> : any