Skip to content

Fix ESM types#116

Merged
elchininet merged 1 commit intomasterfrom
fix_esm_types
Aug 12, 2023
Merged

Fix ESM types#116
elchininet merged 1 commit intomasterfrom
fix_esm_types

Conversation

@elchininet
Copy link
Copy Markdown
Owner

Following the recommendations in the TypeScript Handbook. This is to avoid TypeScript complaining about missing types when the ESM module is used:

Could not find a declaration file for module '@elchininet/isometric'. '/path-to-project/node_modules/@elchininet/isometric/esm/index.js' implicitly has an 'any' type.
There are types at '/path-to-project/node_modules/@elchininet/isometric/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@elchininet/isometric' library may need to update its package.json or typings.ts(7016)

@elchininet elchininet added bug Something isn't working configuration labels Aug 12, 2023
@elchininet elchininet merged commit 35f5066 into master Aug 12, 2023
@elchininet elchininet deleted the fix_esm_types branch August 12, 2023 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working configuration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant