According to this page: https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html
The package.json file should use the types property to point at the typedef file. In my previous PR where I made the typedefs, I incorrectly used the wrong property and also pointed at the folder instead of the file.
According to this page: https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html The
package.json
file should use thetypes
property to point at the typedef file. In my previous PR where I made the typedefs, I incorrectly used the wrong property and also pointed at the folder instead of the file.