You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @lukeed! Many thanks for this great package 🙂. I wanted to use escalade/sync in my TypeScript project but it appears that there's no types for the synchronous API. I'm not sure how the types are currently being generated, but presumably we'd need to point bundt at the synchronous entry point as well?
The text was updated successfully, but these errors were encountered:
Hm, actually I just noticed that there are types for escalade/sync (https://unpkg.com/browse/[email protected]/index.d.ts) so maybe what's happening is that when I import escalade/sync, then it doesn't use this index.d.ts file and thus it can't resolve the types?
You're right, importing into the sub-module bypasses the index.d.ts entirely. It works fine if you (or something else in your chain) imports escalade so that the definitions get loaded. This was solved by 283b571 but I never published an update. Will do so now.
Hey @lukeed! Many thanks for this great package 🙂. I wanted to use
escalade/sync
in my TypeScript project but it appears that there's no types for the synchronous API. I'm not sure how the types are currently being generated, but presumably we'd need to pointbundt
at the synchronous entry point as well?The text was updated successfully, but these errors were encountered: