Skip to content

Update dependency docx to v9 - autoclosed #277

Update dependency docx to v9 - autoclosed

Update dependency docx to v9 - autoclosed #277

Triggered via pull request November 4, 2024 14:39
Status Failure
Total duration 29s
Artifacts

check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors
setup: src/index.spec.ts#L37
Argument of type '[{ output: "buffer"; imageResolver: () => { image: Uint8Array; width: number; height: number; }; }]' is not assignable to parameter of type '[(DocxOptions | undefined)?] | [boolean]'.
setup: src/plugin.ts#L9
Type '{}' is missing the following properties from type 'DocxOptions': title, subject, creator, keywords, and 5 more.
setup: src/transformer.ts#L23
Cannot find module 'docx/build/file/core-properties' or its corresponding type declarations.
setup: src/transformer.ts#L357
'HeadingLevel' refers to a value, but is being used as a type here. Did you mean 'typeof HeadingLevel'?
setup: src/transformer.ts#L424
'AlignmentType' refers to a value, but is being used as a type here. Did you mean 'typeof AlignmentType'?
setup: src/transformer.ts#L447
'AlignmentType' refers to a value, but is being used as a type here. Did you mean 'typeof AlignmentType'?
setup: src/transformer.ts#L459
'AlignmentType' refers to a value, but is being used as a type here. Did you mean 'typeof AlignmentType'?
setup: src/transformer.ts#L537
Argument of type '{ data: string | Buffer | Uint8Array | ArrayBuffer; transformation: { width: number; height: number; }; }' is not assignable to parameter of type 'IImageOptions'.
setup
Process completed with exit code 2.