Skip to content

fix(deps): update nextjs monorepo #502

fix(deps): update nextjs monorepo

fix(deps): update nextjs monorepo #502

Triggered via pull request September 20, 2024 03:22
Status Failure
Total duration 1m 9s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint: src/build/content/prerendered.ts#L36
Type 'number' is not assignable to type 'NetlifyCachedPageValue'.
Lint: src/build/content/prerendered.ts#L174
Type 'NetlifyCachedAppPageValue | NetlifyCachedPageValue' is not assignable to type 'NetlifyCachedRouteValue | NetlifyCachedPageValue'.
Lint: src/build/content/prerendered.ts#L191
This comparison appears to be unintentional because the types '"ROUTE" | "APP_ROUTE"' and '"APP_PAGE"' have no overlap.
Lint: src/build/content/prerendered.ts#L209
Argument of type 'NetlifyCachedAppPageValue | NetlifyCachedPageValue' is not assignable to parameter of type 'NetlifyCachedRouteValue | NetlifyCachedPageValue'.
Lint: src/build/content/prerendered.ts#L232
Argument of type 'CachedFetchValueForMultipleVersions' is not assignable to parameter of type 'NetlifyCachedRouteValue | NetlifyCachedPageValue'.
Lint: src/run/handlers/cache.cts#L57
This comparison appears to be unintentional because the types '"ROUTE" | "APP_ROUTE" | "PAGE" | "PAGES"' and '"FETCH"' have no overlap.
Lint: src/run/handlers/cache.cts#L96
Type 'NetlifyCachedPageValue' is not assignable to type 'number | undefined'.
Lint: src/run/handlers/cache.cts#L137
This comparison appears to be unintentional because the types '"ROUTE" | "APP_ROUTE"' and '"APP_PAGE"' have no overlap.
Lint: src/run/handlers/cache.cts#L197
Type '{ lastModified: NetlifyCachedPageValue | undefined; value: any; } | null' is not assignable to type 'IncrementalCachedPageValueForMultipleVersions'.
Lint: src/run/handlers/cache.cts#L201
Argument of type 'IncrementalCachedPageValueForMultipleVersions' is not assignable to parameter of type 'string'.