15 lines
732 B
Text
15 lines
732 B
Text
|
tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions3.ts(6,23): error TS1109: Expression expected.
|
||
|
tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions3.ts(6,18): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'.
|
||
|
|
||
|
|
||
|
==== tests/cases/compiler/taggedTemplatesWithIncompleteTemplateExpressions3.ts (2 errors) ====
|
||
|
|
||
|
function f(x: TemplateStringsArray, y: string, z: string) {
|
||
|
}
|
||
|
|
||
|
// Incomplete call, not enough parameters.
|
||
|
f `123qdawdrqw${ 1 }${
|
||
|
|
||
|
!!! error TS1109: Expression expected.
|
||
|
~
|
||
|
!!! error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'.
|