In 3.0.1, type definitions are not available.
szabi opened this issue · 0 comments
szabi commented
Starting from 3.0.1., type definitions are not available in typescript:
Could not find a declaration file for module 'docx-preview'. 'C:/dev/my_project/node_modules/docx-preview/dist/docx-preview.mjs' implicitly has an 'any' type.
There are types at 'C:/dev/my_project/node_modules/docx-preview/dist/docx-preview.d.ts', but this result could not be resolved when respecting package.json "exports". The 'docx-preview' library may need to update its package.json or typings.
Fixed in PR #114 . Please test and merge.