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
Hello, I try to migrate my project to full ESM but I have TS errors using PerfectScrollbar. It works fine before this.
I have several errors on using types part or class type in my code, one said namespace can't export Options, another you can't use namespace as type. But I can't find how to fix this :
This is TS errors for all parts :
PerfectScrollbar.Options : TS2694
ref<PerfectScrollbar>() : TS2709
new PerfectScrollbar() : TS2351
But normally the types availables with the package seems to be corrects. I don't understand the problem :/
The text was updated successfully, but these errors were encountered:
Hello, I try to migrate my project to full ESM but I have TS errors using PerfectScrollbar. It works fine before this.
I have several errors on using types part or class type in my code, one said namespace can't export Options, another you can't use namespace as type. But I can't find how to fix this :
This is TS errors for all parts :
PerfectScrollbar.Options
: TS2694ref<PerfectScrollbar>()
: TS2709new PerfectScrollbar()
: TS2351But normally the types availables with the package seems to be corrects. I don't understand the problem :/
The text was updated successfully, but these errors were encountered: