jcayzacJ
Deno2y ago
2 replies
jcayzac

shebang and no file extension: how do I turn Typescript on?

I have scripts with a
#!/usr/bin/env deno run
shebang, but they execute as javascript —adding types lead to parsing errors.
Can I enable typescript with a command line parameter to
deno run
?
Was this page helpful?