summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/file_extensions/ts_with_js_extension.js
diff options
context:
space:
mode:
authorCre3per <12541974+Cre3per@users.noreply.github.com>2023-03-22 15:15:53 +0100
committerGitHub <noreply@github.com>2023-03-22 10:15:53 -0400
commitfd0658fb429e659b037cbf8b2a86459ce49cb3b3 (patch)
tree7ffa357ebfb18c5cd655677b5cc29c24089ddaa2 /cli/tests/testdata/file_extensions/ts_with_js_extension.js
parent50b793c9ed866ee29e8f04b4fa24b485b01a2b74 (diff)
feat(cli): --ext parameter for run, compile, and bundle (#17172)
Adds `--ext` to `deno run`, closes #5088 Additionally - Adds `--ext` to `deno compile` and `deno bundle`
Diffstat (limited to 'cli/tests/testdata/file_extensions/ts_with_js_extension.js')
-rw-r--r--cli/tests/testdata/file_extensions/ts_with_js_extension.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/tests/testdata/file_extensions/ts_with_js_extension.js b/cli/tests/testdata/file_extensions/ts_with_js_extension.js
new file mode 100644
index 000000000..3c49f7484
--- /dev/null
+++ b/cli/tests/testdata/file_extensions/ts_with_js_extension.js
@@ -0,0 +1,5 @@
+interface Lollipop {
+ _: number;
+}
+
+console.log("executing typescript with extension");