how npm publish typescript interface definition
问题 I have been trying to figure this out for the last 3-4 days, googling and reading a lot, but I don't see any example that contains my use case. I want to npm publish a library that contains its types definitions. I've just really started to do TS because another teams need my library to support typings. So let me try to put as much (and as little) detail as I think: tsconfig.json: { "compilerOptions": { "allowSyntheticDefaultImports": true, "allowUmdGlobalAccess": true, "baseUrl": ".",