react2angular icon indicating copy to clipboard operation
react2angular copied to clipboard

Correct propery 'types' in package.json

Open technobuddha opened this issue 4 years ago • 1 comments

The correct property name for type definitions in package.json is "types" not "typings".

Without this change, you can not import from react2angular in typescript.

technobuddha avatar Jun 22 '21 17:06 technobuddha

Non-issue. From typescript docs: 'Note that the "typings" field is synonymous with "types", and could be used as well.' https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html#including-declarations-in-your-npm-package

RusmiselE-lattice avatar Jul 22 '21 20:07 RusmiselE-lattice