TypeScript/tests/baselines/reference/stringLiteralType.errors.txt
2014-07-12 17:30:19 -07:00

9 lines
244 B
Plaintext

==== tests/cases/conformance/types/primitives/stringLiteral/stringLiteralType.ts (1 errors) ====
var x: 'hi';
~~~~
!!! Type expected.
function f(x: 'hi');
function f(x: string);
function f(x: any) {
}