firecmsco / firecms

Awesome Firebase/Firestore-based CMS. The missing admin panel for your Firebase project!
https://firecms.co
Other
1.13k stars 185 forks source link

Missing typings in data_enhancement #586

Closed OskarGroth closed 9 months ago

OskarGroth commented 9 months ago

In a fresh Quick Start project I get the following error:

Could not find a declaration file for module '@firecms/data_enhancement'. '/Users/oskar/backend/cms/node_modules/@firecms/data_enhancement/dist/index.es.js' implicitly has an 'any' type.
  There are types at '/Users/oskar/backend/cms/node_modules/@firecms/data_enhancement/dist/index.d.ts', but this result could not be resolved when respecting package.json "exports".
The '@firecms/data_enhancement' library may need to update its package.json or typings.

Probably related to: https://github.com/firecmsco/firecms/issues/500

OskarGroth commented 9 months ago

It seems there is a typo:

Screenshot 2023-11-07 at 16 04 15

src should not be in types. Removing it fixes the issue

fgatti675 commented 9 months ago

just changed an released version 1.2.1 :)