summaryrefslogtreecommitdiff
path: root/tests/specs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-09-05 15:22:31 +0200
committerGitHub <noreply@github.com>2024-09-05 15:22:31 +0200
commit15fce5b290d7dc3eb503a70bd8a10aaf72a09f5e (patch)
treea236e2de82f91b8a36cb5228db119f116fe05c06 /tests/specs
parentb54347c448ca4a003b81800655eb1433fc842b2a (diff)
feat(check): turn on useUnknownInCatchVariables (#25465)
Part of #25162 Closes #11826
Diffstat (limited to 'tests/specs')
-rw-r--r--tests/specs/compile/relative_permissions/main.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/specs/compile/relative_permissions/main.ts b/tests/specs/compile/relative_permissions/main.ts
index ac6eebba2..d18d27cad 100644
--- a/tests/specs/compile/relative_permissions/main.ts
+++ b/tests/specs/compile/relative_permissions/main.ts
@@ -1,5 +1,5 @@
try {
Deno.readTextFileSync("a.txt");
} catch (err) {
- console.log(err.message);
+ console.log((err as Error).message);
}