Skip to content

Commit

Permalink
fix(Response/type): resolve void returned instead of this (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
codyfyi authored Jan 1, 2023
1 parent 245164c commit 85a8654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export declare class Response {
json(body: any): void;
jsonp(body: any): void;
html(body: any): void;
type(type: string): void;
type(type: string): this;
location(path: string): this;
redirect(status: number, path: string): void;
redirect(path: string): void;
Expand Down

0 comments on commit 85a8654

Please sign in to comment.