Skip to content

chore(sanity): remove warnings comments #18356

chore(sanity): remove warnings comments

chore(sanity): remove warnings comments #18356

Triggered via push July 4, 2024 10:28
Status Failure
Total duration 2m 42s
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
Property '_id' does not exist on type 'PreviewValue | Partial<SanityDocument>'.
typeCheck
Type 'Partial<BundleDocument>' is not assignable to type 'BundleDocument'.
typeCheck
Process completed with exit code 2.