diff options
| author | Kenta Moriuchi <moriken@kimamass.com> | 2024-09-06 19:23:59 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-06 12:23:59 +0200 |
| commit | 8ef08f1d294dbe7e3771202084ecbede73ca28aa (patch) | |
| tree | 8930e11abd8027129873acc0ca2c67fe0bfadb28 /tests/specs/check/use_unknown_in_catch_variables/main.out | |
| parent | 56363e4f4e097eadc85f5219e9e08c7ffc059e31 (diff) | |
feat(lsp): turn on useUnknownInCatchVariables (#25474)
Diffstat (limited to 'tests/specs/check/use_unknown_in_catch_variables/main.out')
| -rw-r--r-- | tests/specs/check/use_unknown_in_catch_variables/main.out | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/specs/check/use_unknown_in_catch_variables/main.out b/tests/specs/check/use_unknown_in_catch_variables/main.out new file mode 100644 index 000000000..28236849e --- /dev/null +++ b/tests/specs/check/use_unknown_in_catch_variables/main.out @@ -0,0 +1,5 @@ +Check file:///[WILDCARD]/main.ts +error: TS18046 [ERROR]: 'e' is of type 'unknown'. + console.log(e.message); + ^ + at file://[WILDCARD]/use_unknown_in_catch_variables/main.ts:4:15 |
