Hello,
The type definition file, index.d.ts, is placed inside the dist/src folder after the build, but in the package.json, the path specified in the "type" property is just dist/index.d.ts.
As a result, the type definitions are not recognized correctly by the IDE.
Best regards.