Skip to content

chore(corel): add eslintrc change, remove progress icon and update ty… #18237

chore(corel): add eslintrc change, remove progress icon and update ty…

chore(corel): add eslintrc change, remove progress icon and update ty… #18237

Triggered via push July 2, 2024 11:57
Status Failure
Total duration 1m 26s
Artifacts

typeCheck.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors
typeCheck
Argument of type '<T extends { _id: string; _type: string; _version?: Record<string, never> | undefined; }>(documents: T[], { bundlePerspective }?: CollateOptions) => CollatedHit<T>[]' is not assignable to parameter of type '(value: SanityDocumentLike[], index: number) => CollatedHit<SanityDocumentLike>[]'.
typeCheck
'collated' is of type 'unknown'.
typeCheck
Parameter 'entry' implicitly has an 'any' type.
typeCheck
Argument of type '<T extends { _id: string; _type: string; _version?: Record<string, never> | undefined; }>(documents: T[], { bundlePerspective }?: CollateOptions) => CollatedHit<T>[]' is not assignable to parameter of type '(value: SanityDocumentLike[], index: number) => CollatedHit<SanityDocumentLike>[]'.
typeCheck
'collated' is of type 'unknown'.
typeCheck
Parameter 'entry' implicitly has an 'any' type.
typeCheck
Argument of type 'string' is not assignable to parameter of type 'number | Date'.
typeCheck
Property '_id' does not exist on type 'PreviewValue | Partial<SanityDocument>'.
typeCheck
Process completed with exit code 2.