Skip to content

Commit

Permalink
fix: Wrong getHeader method signature in http-adapter class
Browse files Browse the repository at this point in the history
  • Loading branch information
josesilveiraa07 committed Dec 20, 2023
1 parent 5c78423 commit 9a1a776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/adapters/http-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export abstract class AbstractHttpAdapter<
abstract setNotFoundHandler(handler: Function, prefix?: string);
abstract isHeadersSent(response: any);
// TODO remove optional signature (v11)
abstract getHeader?(response: any, name: string, value: string);
abstract getHeader?(response: any, name: string);
abstract setHeader(response: any, name: string, value: string);
// TODO remove optional signature (v11)
abstract appendHeader?(response: any, name: string, value: string);
Expand Down

0 comments on commit 9a1a776

Please sign in to comment.