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
Wrong version of from-docx.ts packaged for NPM 8.5.0 package?
I installed the docx 8.5.0 Package via NPM
"dependencies": {
"docx": "^8.5.0"
}
and wanted to run the Demos
85-template-document.ts
87-template-document.ts
88-template-document.ts
89-template-document.ts
but they are not working, because of the wrong type definition for the function "patchDocument".
When looking into build/patcher/from-docx.d.ts of the downloaded NPM package, it shows that the exported type for patchDocument has another parameter definition as used in the demos:
It's also explained on the pull requests page, that there had been breaking changes: #2497 but it seems that it did not get it into the NPM package.
On gitHub when looking into the source the type is defined that way that it is working with the demos.
The text was updated successfully, but these errors were encountered:
Wrong version of from-docx.ts packaged for NPM 8.5.0 package?
I installed the docx 8.5.0 Package via NPM
"dependencies": {
"docx": "^8.5.0"
}
and wanted to run the Demos
but they are not working, because of the wrong type definition for the function "patchDocument".
When looking into build/patcher/from-docx.d.ts of the downloaded NPM package, it shows that the exported type for patchDocument has another parameter definition as used in the demos:
It's also explained on the pull requests page, that there had been breaking changes: #2497 but it seems that it did not get it into the NPM package.
On gitHub when looking into the source the type is defined that way that it is working with the demos.
The text was updated successfully, but these errors were encountered: