kossnocorp / typesaurus

🦕 Type-safe TypeScript-first ODM for Firestore
https://typesaurus.com
415 stars 36 forks source link

Fix types resolution #122

Closed MRDGH2821 closed 12 months ago

MRDGH2821 commented 12 months ago

I think this is due to newer typescript versions. But anyways, when I tried using typesaurus@10.0.0-beta.11, I was getting type errors.

So, I checked using https://www.npmjs.com/package/@arethetypeswrong/cli if there are any problems, and it does seem to have problems in exporting types.

To potentially fix this, a new build process might be required or proper types might need to be exported. I recommend tsup or esbuild for new build process.

Apart from that, my PR does seem to satisfy attw when I directly edited package.json from node_modules folder

kossnocorp commented 12 months ago

Thank you for that. I might need to update a few things, but I'll release it with the next version.