Skip to content

refactor(sanity): use speakingurl instead of toSlug #18187

refactor(sanity): use speakingurl instead of toSlug

refactor(sanity): use speakingurl instead of toSlug #18187

Triggered via push July 1, 2024 10:46
Status Failure
Total duration 1m 27s
Artifacts

typeCheck.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 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
Process completed with exit code 2.