summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/lint/file2.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/lint/file2.ts')
-rw-r--r--cli/tests/testdata/lint/file2.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/testdata/lint/file2.ts b/cli/tests/testdata/lint/file2.ts
new file mode 100644
index 000000000..73c612c35
--- /dev/null
+++ b/cli/tests/testdata/lint/file2.ts
@@ -0,0 +1,6 @@
+try {
+ await Deno.open("./some/file.txt");
+} catch (_e) {}
+
+// deno-lint-ignore no-explicit-any
+function _foo(): any {}