/typescript-starter-vscode

Quick project to use as template to write typescript code.

Primary LanguageJavaScript

Typescript starter with jest

Useful commands used for the setup:

  • To initialize the NodeJS project with a reference to typescript module
    npm i -D typescript
  • To create the default tsconfig.json file
    tsc --init
  • To add the reference to Jest working with typescript
    npm i -D jest ts-jest @types/jest
  • To setup the jest configuration for using ts-jest
    npx ts-jest config:init