Missing types for typescript
In version 2.0.9 the file `htmx.esm.d.ts` is missing. It seems to have been removed with commit e14f887a1d69500457ba91544801b29f7a1bc648. My project imports htmx in some typescript files for (htmx.onLoad) which now fails:
Could not find a declaration file for module 'htmx.org'. '[...]/node_modules/htmx.org/dist/htmx.esm.js' implicitly has an 'any' type.
It worked in 2.0.8. Am I doing something wrong, is there a workaround?
2 条评论