feat: add shouldCacheResult
option
#1441
Annotations
5 errors and 8 warnings
Lint & Build
Type 'QueryResponseInitial<T> | Awaited<T>' is not assignable to type 'QueryResponseInitial<T>'.
|
Lint & Build
Argument of type '({ addDebugData }: CacheActionFunctionParam) => Promise<QueryResponseInitial<T>>' is not assignable to parameter of type '({ addDebugData }: CacheActionFunctionParam) => T | Promise<T>'.
|
Lint & Build
Type 'Awaited<T>' is not assignable to type 'QueryResponseInitial<T>'.
|
Lint & Build
Argument of type '({ addDebugData }: CacheActionFunctionParam) => Promise<QueryResponseInitial<T>>' is not assignable to parameter of type '({ addDebugData }: CacheActionFunctionParam) => T | Promise<T>'.
|
Lint & Build
Process completed with exit code 2.
|
Lint & Build:
package/src/client.ts#L2
Unexpected 'todo' comment: 'TODO: just pass a client, and don't...'
|
Lint & Build:
package/src/groq.ts#L1
Unexpected 'todo' comment: 'TODO: does this need to be re-exported?'
|
Lint & Build:
package/src/index.ts#L4
Unexpected 'todo' comment: 'TODO: add default session?'
|
Lint & Build:
package/src/preview/route.ts#L22
Unexpected 'todo' comment: 'TODO: make this a callback?...'
|
Lint & Build:
package/src/preview/route.ts#L25
Unexpected 'todo' comment: 'TODO: confirm that the redirect and...'
|
Lint & Build:
package/src/preview/route.ts#L40
Unexpected 'todo' comment: 'TODO: to remove'
|
Lint & Build:
package/src/preview/route.ts#L71
Unexpected 'todo' comment: 'TODO: make this a callback?...'
|
Lint & Build:
package/src/preview/route.ts#L74
Unexpected 'todo' comment: 'TODO: confirm that the redirect and...'
|