fix: update cache handler to accommodate changes in next@canary #304
Annotations
12 errors
Lint:
src/run/handlers/cache.cts#L194
Unexpected 'debugger' statement.
|
Lint
Process completed with exit code 1.
|
Lint:
src/build/content/prerendered.ts#L48
Type '{ kind: string; html: string; pageData: any; headers: undefined; status: undefined; }' is not assignable to type 'never'.
|
Lint:
src/build/content/prerendered.ts#L174
This comparison appears to be unintentional because the types '"ROUTE" | "APP_PAGE"' and '"PAGE"' have no overlap.
|
Lint:
src/build/content/prerendered.ts#L174
This comparison appears to be unintentional because the types '"ROUTE" | "APP_PAGE"' and '"PAGES"' have no overlap.
|
Lint:
src/run/handlers/cache.cts#L135
This comparison appears to be unintentional because the types '"ROUTE" | "REDIRECT" | "APP_PAGE" | "IMAGE" | "FETCH"' and '"PAGES"' have no overlap.
|
Lint:
src/run/handlers/cache.cts#L138
This comparison appears to be unintentional because the types '"REDIRECT" | "IMAGE" | "FETCH"' and '"APP_ROUTE"' have no overlap.
|
Lint:
src/run/handlers/cache.cts#L144
This comparison appears to be unintentional because the types '"ROUTE" | "APP_PAGE"' and '"PAGES"' have no overlap.
|
Lint:
src/run/handlers/cache.cts#L234
Type '"APP_ROUTE"' is not comparable to type '"ROUTE" | "REDIRECT" | "PAGE" | "APP_PAGE" | "IMAGE" | "FETCH" | undefined'.
|
Lint:
src/run/handlers/cache.cts#L248
Type '"PAGES"' is not comparable to type '"ROUTE" | "REDIRECT" | "PAGE" | "APP_PAGE" | "IMAGE" | "FETCH" | undefined'.
|
Lint:
src/run/handlers/cache.cts#L251
Property 'revalidate' does not exist on type 'IncrementalCachedPageValue'.
|
Lint:
src/run/handlers/cache.cts#L253
Argument of type 'any' is not assignable to parameter of type 'never'.
|