D
Deno
shebang and no file extension: how do I turn Typescript on? - Deno
J
Deno
•
2y 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
#!/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
deno run
?
Deno
Join
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How to remove `.ts` extension form file name
X
Xià 🇵🇸 / help
2y ago
Load Typescript into deno_core::extension!
F
fazbdillah / help
6mo ago
How to `deno bundle` to single TypeScript file?
D
Dustin / help
9mo ago