DEV Community

Discussion on: Creating a TS-written NPM package for use in Node-JS or Browser.

Collapse
 
charlyoleg profile image
charlyoleg

Thanks for this very good post. In my case (tsc version 3.8.3), I need the flag '--declaration' to generate the according '.d.ts' files. So, my package.json looks like:
"build": "tsc --declaration",