rawmodel/framework

Include type definitions in the npm package

BigForNothing opened this issue · 3 comments

Can you please include the type definitions inside the type definition files?

http://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html

Types definition inside package.json should be enough. Make sure you are using the latest typescript version.

{
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  ...
}

Sorry, you are correct. I was looking at the package as installed, which is still 3.1.0 (and doesn't include it). Looks like 3.2.0 will have it.

Good. I'll close the issue then.