summaryrefslogtreecommitdiff
path: root/cli/tests/testdata
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2021-11-04 11:30:37 +0100
committerGitHub <noreply@github.com>2021-11-04 11:30:37 +0100
commit318dcc33afd510c02984d4d3527c88bf4383bcf1 (patch)
treea4d4b7d4f4a4d3619f75ba80279b1ed6630e589f /cli/tests/testdata
parent7c2abb9d579d13fa61339c24f8c39bc3c27c25db (diff)
Revert "feat(cli): enable `useUnknownInCatchVariables` by default" (#12643)
This partially reverts commit a065604155991dbf4417b606d4562d275cd8955f. Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r--cli/tests/testdata/useUnknownInCatchVariables.ts5
-rw-r--r--cli/tests/testdata/useUnknownInCatchVariables.ts.out5
2 files changed, 0 insertions, 10 deletions
diff --git a/cli/tests/testdata/useUnknownInCatchVariables.ts b/cli/tests/testdata/useUnknownInCatchVariables.ts
deleted file mode 100644
index abab554a4..000000000
--- a/cli/tests/testdata/useUnknownInCatchVariables.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-try {
- throw new Error();
-} catch (e) {
- console.log(e.message);
-}
diff --git a/cli/tests/testdata/useUnknownInCatchVariables.ts.out b/cli/tests/testdata/useUnknownInCatchVariables.ts.out
deleted file mode 100644
index 3c29d3229..000000000
--- a/cli/tests/testdata/useUnknownInCatchVariables.ts.out
+++ /dev/null
@@ -1,5 +0,0 @@
-[WILDCARD]
-error: TS2571 [ERROR]: Object is of type 'unknown'.
- console.log(e.message);
- ^
- at file://[WILDCARD]/useUnknownInCatchVariables.ts:4:15