Skip to content

Instantly share code, notes, and snippets.

@Noitidart
Last active February 22, 2019 23:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Noitidart/007f88fe2bf22d3e1b62ba8702d74128 to your computer and use it in GitHub Desktop.
Save Noitidart/007f88fe2bf22d3e1b62ba8702d74128 to your computer and use it in GitHub Desktop.

JS only

  1. Create folder
  2. Open folder in VSCode
  3. Open any .js file, then hit F5.

TS

  1. Create folder

  2. Open folder in VSCode

  3. npm i typescript --save-dev

  4. Create tsconfig.json

    { compilerOptions: { target: 'es5', outDir: 'dist', sourceMaps: true } }
    
  5. Open any .ts file, then hit F5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment