TypeScript/tests/baselines/reference/taggedTemplatesWithIncompleteTemplateExpressions3.errors.txt
Cyrus Najmabadi f1a2e41a8a Sort diagnostics in our baseline output.
This was we don't get noisy baselines just because a different phase of the compiler reported
the diagnostic.

This helps with Yui's refactoring work to move grammar checks into the type checker.
2014-12-16 15:56:56 -08:00

15 lines
732 B
Plaintext

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