summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/check/no_error_truncation/main.out
blob: 13fd5aae4469d3b995195d2448f70a607866fbf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
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.