fix(type): type error in config #42
pr-test.yml
on: pull_request_target
build
3m 11s
review
/
review
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/
|