Package.json exports does not specify types, so declaration are not found when exports supported (moduleResolution: bundler in tsconfig)
It should be specified in package.json as:
TS7016: Could not find a declaration file for module '@rapideditor/country-coder'. 'my-project/node_modules/@rapideditor/country-coder/dist/country-coder.mjs' implicitly has an 'any' type. There are types at 'my-project/node_modules/@rapideditor/country-coder/dist/country-coder.d.ts', but this result could not be resolved when respecting package.json "exports". The '@rapideditor/country-coder' library may need to update its package.json or typings.
Package.json exports does not specify types, so declaration are not found when exports supported (moduleResolution: bundler in tsconfig) It should be specified in package.json as:
Error