This is a minimal TypeScript project template for use with VS Code.
-
ESLint (Optional) : A static code analysis tool.
- This extension doesn't have own bundled eslint module, so this template includes eslint module within the
package.json
.
- This extension doesn't have own bundled eslint module, so this template includes eslint module within the
-
Prettier (Recommended) : An opinionated code formatter.
- This extension has own bundled prettier module.
- If you want to use prettier module from your project's local dependencies, install prettier module in your project:
# Install prettier locally npm install --save-dev --save-exact prettier
-
Code Spell Checker (Recommended) : A basic spell checker.
- This extension allows Customization via
.vscode/cspell.json
.
- This extension allows Customization via
Before to use this template, make sure you're running the latest version of VS Code. And Node.js (which comes with npm) installed on your computer.
- Download this template and Unzip to your project folder.
- Open your project folder in VS Code.
- Install dependencies:
# Install dependencies npm install
- Enjoy coding with TypeScript!
- Go to the Run view and select 'Launch Program' or press F5 key to start debugging.
- Set breakpoints in any of the files.