-
-
Notifications
You must be signed in to change notification settings - Fork 92
Closed
Description
Hi,
I'm seeing the following error when using bitecs (v0.3.38) with Vite:
Could not find a declaration file for module 'bitecs'. ... /node_modules/bitecs/dist/index.mjs' implicitly has an 'any' type.
There are types at ... /node_modules/bitecs/dist/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'bitecs' library may need to update its package.json or typings.
According to this discussion, the suggestion from Typescript is to rename the index.d.ts file to index.d.mts, and when I do this locally, it resolves this issue.
Metadata
Metadata
Assignees
Labels
No labels