1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-28 10:09:20 -05:00
denoland-deno/cli/tests/testdata/check/no_error_truncation/main.out

11 lines
693 B
Text

error: TS2322 [ERROR]: Type '{ propertyWithAnExceedinglyLongName1: string; propertyWithAnExceedinglyLongName2: string; propertyWithAnExceedinglyLongName3: string; propertyWithAnExceedinglyLongName4: string; propertyWithAnExceedinglyLongName5: string; propertyWithAnExceedinglyLongName6: string; propertyWithAnExceedinglyLongName7: string; propertyWithAnExceedinglyLongName8: string; }' is not assignable to type 'string'.
const _s: string = x;
~~
at file:///[WILDCARD]/no_error_truncation/main.ts:12:7
TS2454 [ERROR]: Variable 'x' is used before being assigned.
const _s: string = x;
^
at file:///[WILDCARD]/no_error_truncation/main.ts:12:20
Found 2 errors.