The preset is Installing as an npm package and referenced using the extends property in your tsconfig. TypeScript projects you can create your own tsconfig preset! To setup a typescript project for node 14 install the @tsconfig/node14 preset. Learn how to set up a tsconfig for Nodejs.
Do you hate dealing with tsconfig files? My problem is that I just don't spend enough time with them to learn all the settings. I create the config once for a new project, usually leaving most things as default, then never touch it again.
Fortunately, I recently discovered that Microsoft has created a collection of platform-specific presets to base your tsconfig on. The preset is installed as an npm package and referenced using the extends property in your tsconfig.
To setup a typescript project for node 14 install the @tsconfig/node14 preset.
I’ll take you through the step-by-step to learn how to develop and publish a TypeScript NPM package. We’ll start by developing a very simple npm package using TypeScript. We’ll also cover unit testing, test coverage and code analysis
NodeJS + TypeScript, How to Set Up