

To run above command you can right click on one of the file in a folder where all your typescript files are present and 'open integrated terminal' and in the opened terminal you can run the command -> tsc -initĭue to above command a file named tsconfig will be created in the folder where you run this command
Coderunner tss how to#
Run this on CMD line in VSCode Folder wherever your typescript files needed to be run you can see point 2 on how to run this cmd -> tsc -init


Note : First Install the Code Runner Extesnion in the VSCode which you can find in the VSCode or here in this marketplace link vscode folder and tsconfig.json file in the folder location of your typescript files is also required to auto-compile so to achieve this. Yes you need to install the ts-node globally using this command but the tasks.json file in the. I admit I'm newbie in web dev and coderunner, so don't be afraid of over explain it., I found several stuff explaining it to JS, but nothing to TS. I understand that's a rookie question, but i failed to find an answer to it.įor making my tests easier I need to run small parts of my code and, after some search, I found the code runner extension for VsCode to do it.Īn example is the following: import ' statement to make it a module.Ĭan you explain how to configure coderunner to run ts?
