New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error TS2709: Cannot use namespace 'HotPatcher' as a type. #323
Comments
What worked for me, instead of enabling
|
I'm looking into this now. I'm having some issues properly building |
Hot Patcher and outputting non-ESM bundles has been a pain, so I've released it as an ESM module @ v2. Due to that, I'll roll it into WebDAV under a new major and will release this library as ESM also: #326 ESM has been requested for a while, and it's definitely the way to go for new builds. So unfortunately to fix this issue it'll most likely require you to update to v5+ESM. This is good reading if you're interested in migrating to ESM. |
Nevermind, I fixed this in another commit... I had to remove the declarations.. 😅 I'll still be releasing the ESM build shortly but v4 should also get this fix! EDIT: v4.11.2 released with this. |
I updated |
Unfortunately I (still) can't use
webdav-client
with TypeScript (due to an issue withhot-patcher
):I did see you mention in #314 that the PR from #315 should enable using TypeScript, so I guess I'm doing something wrong?
What could that be?
Or should I wait for #317?
The text was updated successfully, but these errors were encountered: