Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ije committed Apr 30, 2022
1 parent 4bf728c commit 9b5e19e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ declare interface Context<DataType = unknown> extends Record<string, unknown> {
): Response;
}

declare interface Data<DataType = unknown, ContextExtension = {}> {
declare interface Data<DataType = unknown, ContextExtension = Record<never, never>> {
cacheTtl?: number;
any?(request: Request, context: Context & ContextExtension): Promise<Response | void> | Response | void;
get?(request: Request, context: Context<DataType> & ContextExtension): Promise<Response> | Response;
Expand Down

0 comments on commit 9b5e19e

Please sign in to comment.