1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-24 16:19:12 -05:00
denoland-deno/tests/testdata/check/no_error_truncation/main.out

12 lines
693 B
Text
Raw Normal View History

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.