filmov
tv
How to run TypeScript without transpile the code | Direct TypeScript Execution
Показать описание
In this video, we'll show you how to run a direct Typescript file in Nodejs. This is a useful technique for writing large applications using Typescript.
By using this technique, you'll be able to reduce the amount of code you have to write and make your applications more efficient. In this video, we'll show you how to run a direct Typescript file in Nodejs and explain the benefits of using this approach.
How to run a direct typescript file in nodejs
There are two ways to run the file
1) ts-node development to run the file - (npm install -D ts-node)
- to run the file by $ npm start or yarn start
2) ts-node global command to run the file - (npm install -g ts-node)
Thanks for watching!
#typescript #ts-node #ts
By using this technique, you'll be able to reduce the amount of code you have to write and make your applications more efficient. In this video, we'll show you how to run a direct Typescript file in Nodejs and explain the benefits of using this approach.
How to run a direct typescript file in nodejs
There are two ways to run the file
1) ts-node development to run the file - (npm install -D ts-node)
- to run the file by $ npm start or yarn start
2) ts-node global command to run the file - (npm install -g ts-node)
Thanks for watching!
#typescript #ts-node #ts