Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
danteissaias authored Oct 1, 2024
1 parent ee7a3d9 commit 40fbca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const badRequest = {

export class Context {
request: Request;
params: Record<string, string>;
params: Record<string, string | undefined>;
status = 200;

constructor({ request, params }: ContextInit) {
Expand Down

0 comments on commit 40fbca7

Please sign in to comment.