Hi, I’m Dung Huynh Duc . Nice to meet you.

About Me

I’m a full stack developer. I’m a fast learner and self-taught coder. I often take my time for researching and learning about hot and trending technology.

blog_hero_#TIL 7 - Use tsconfig.json for ts-node
Typescript
TS-Node

#TIL 7 - Use tsconfig.json for ts-node

Dung Huynh

Thu Oct 08 2020

Use the same tsconfig.json for https://github.com/TypeStrong/ts-node

    {
      "ts-node": {
        // these options are overrides used only by ts-node
        // same as our --compilerOptions flag and our TS_NODE_COMPILER_OPTIONS environment variable
        "compilerOptions": {
          "module": "commonjs"
        }
      },
      "compilerOptions": {
        ...
      },
      ...
    }