Не работает библиотека docx
ERROR in ../node_modules/docx/build/file/core-properties/properties.d.ts:34:26
- error TS2304: Cannot find name 'Omit'.
34 constructor(options: Omit<IPropertiesOptions, "sections">); ~~~~ ../node_modules/docx/build/file/document-wrapper.d.ts:14:9 - error TS1086: An accessor cannot be declared in an ambient context.
14 get View(): Document; ~~~~ ../node_modules/docx/build/file/document-wrapper.d.ts:15:9 - error TS1086: An accessor cannot be declared in an ambient context.
15 get Relationships(): Relationships; ~~~~~~~~~~~~~ ../node_modules/docx/build/file/document/document.d.ts:14:9 - error TS1086: An accessor cannot be declared in an ambient context.
14 get Body(): Body; ~~~~ ../node_modules/docx/build/file/file.d.ts:57:9 - error TS1086: An accessor cannot be declared in an ambient context.
57 get Document(): DocumentWrapper; ~~~~~~~~ ../node_modules/docx/build/file/file.d.ts:58:9 - error TS1086: An accessor cannot be declared in an ambient context.
58 get Styles(): Styles; ~~~~~~ ../node_modules/docx/build/file/file.d.ts:59:9 - error TS1086: An accessor cannot be declared in an ambient context.
59 get CoreProperties(): CoreProperties; ~~~~~~~~~~~~~~ ../node_modules/docx/build/file/file.d.ts:60:9 - error TS1086: An accessor cannot be declared in an ambient context.
60 get Numbering(): Numbering; ~~~~~~~~~ ../node_modules/docx/build/file/file.d.ts:61:9 - error TS1086: An accessor cannot be declared in an ambient context.
61 get Media(): Media;
Versions: [email protected] [email protected] angular/[email protected]