I just started playing with the "atom-typescript" plugin as referenced here:
Getting Started With TypeScript
The page states that to utilize atom-typescript, we literally just need to:
Now create a new .ts TypeScript file and start hacking away. AtomTS will take care of compiling it to .js and create a default tsconfig.json TypeScript project file for you.
This is not the case as I've created a simple directory structure and when attempting to build any *.ts file receive the following error:
The error states I need to utilize the 'Create tsconfig.json project file' command--I simply cannot locate this command.
I understand I can create the file manually but I would like to know if / where the file can be created automatically. Thanks!
The presence of a tsconfig. json file in a directory indicates that the directory is the root of a TypeScript project. The tsconfig. json file specifies the root files and the compiler options required to compile the project.
The tsconfig. json is generally put in the root folder of the project.
Type cmd(ctrl)+shift+p
to bring up the list of commands and then tsconfig
to find the command to generate the tsconfig.json
file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With