paint-brush
Master The Art Of Using Typescript Without The Compile Stepby@theBenForce
761 reads
761 reads

Master The Art Of Using Typescript Without The Compile Step

by Ben Force1mApril 17th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

With just a few tricks you can start writing your scripts in TypeScript. The only magic that's required is the first line needs to be a shebang statement. Set up your environment and globally install node and npm packages to create your script. Then mark the script as executable and use bash to execute the contents of the file. You can now directly execute your typescript file using bash or node-node-generated-script. Using bash to run your TypeScript script is easy to do with bash.

Company Mentioned

Mention Thumbnail
featured image - Master The Art Of Using Typescript Without The Compile Step
Ben Force HackerNoon profile picture
Ben Force

Ben Force

@theBenForce

5x AWS Certified Senior Software Engineer. I write about architecture, infrastructure as code, and automation.

Learn More
LEARN MORE ABOUT @THEBENFORCE'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Ben Force HackerNoon profile picture
Ben Force@theBenForce
5x AWS Certified Senior Software Engineer. I write about architecture, infrastructure as code, and automation.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here