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