Files
tsgo/testdata/baselines/reference/compiler/singleSettingsSimpleTest.errors.txt

8 lines
289 B
Plaintext

singleSettingsSimpleTest.ts(2,7): error TS2322: Type 'undefined' is not assignable to type 'string'.
==== singleSettingsSimpleTest.ts (1 errors) ====
export {};
const x: string = undefined;
~
!!! error TS2322: Type 'undefined' is not assignable to type 'string'.