Skip to content

fix(type): type error in config #42

fix(type): type error in config

fix(type): type error in config #42

Triggered via pull request August 7, 2024 12:40
@RSS1102RSS1102
synchronize #839
Status Failure
Total duration 3m 22s
Artifacts

pr-test.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

1 error and 2 warnings
build: src/Cherry.config.js#L453
Type '{ urlProcessor: (url: string, srcType: "link" | "audio" | "video" | "image" | "autolink") => string; fileUpload: (file: any, callback: any) => void; fileUploadMulti: (files: any, callback: any) => void; ... 6 more ...; onPaste: (clipboardData: DataTransfer) => boolean; }' is not assignable to type '{ urlProcessor?: (url: string, srcType: "link" | "audio" | "video" | "image" | "autolink") => string; fileUpload?: CherryFileUploadHandler; fileUploadMulti?: CherryFileUploadHandler; ... 6 more ...; onPaste?: (clipboardData: DataTransfer) => string | boolean; }'.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/