How to Run TypeScript in VS Code

preview_player
Показать описание
Debug TypeScript in VS Code

Configure TypeScript in VS Code

How to Write TypeScript Program in VS Code

TypeScript in VS Code
Рекомендации по теме
Комментарии
Автор

You can combine the two commands using the and operator:
tsc abc.ts && node abc.ts

maysaraaljumaily
Автор

Hi, thanks for the video, but im havinog some trouble:

I installed node, made the version check and everythin ok, but then i installed typescriptand got this in response, which made me think its properly installed:

" C:\Usr\local\tsc ->

C:\Usr\local\tsserver ->


added 1 package from 1 contributor in 3.336s "

BUT then i tried to make the version check, but unlike node, i get the following message:

" 'D\AppData\Roaming\npm\' is not recognized as an internal or external command,

operable program or batch file.



throw err;

^

Error: Cannot find module

 at

 at Function.Module._load

 at [as runMain]

 at {

code: 'MODULE_NOT_FOUND',

requireStack: []

} "


Any help is much appreciated

tomashardoy
Автор

title should be how to run ts not how to run ts in vscode beacuse you did not show the method to ts within vscode rather using commands in console. :)

kishor-jena