Closed rvsia closed 5 years ago
Hi,
I'm not a TS expert yet so any help would be helpful
This library depends on another library and it seems TS has troubles understanding the types (community def) of the dependency lib: https://github.com/bjoerge/debounce-promise
Are you on latest TS version? Not sure it'll work with 2.x
Also I think you should have "allowSyntheticDefaultImports": true option in tsconfig.
If you can provide a reproduction repo that would be helpful
Repo: https://github.com/ManageIQ/manageiq-ui-classic/ (or you can look at the PR where I referenced this issue.)
There is "typescript": "~2.8.1".
Thanks.
I'm not sure but I don't think it will work with TS < 3.x
Don't know enough TS yet to be sure but I think the types are using quite modern TS features
Thanks! I will check what I can do with that. (I know nothing about TS. 😣 😄 )
@slorber Yeah, updating to the latest typescript and adding the option to the config helped!
Thank you! And great job with the library!
Awesome thanks for the feedback
Hello,
we would like to use this library in our project, however Webpack shows errors after building.