Skip to content

Commit

Permalink
Add method to ILayer
Browse files Browse the repository at this point in the history
I can't find where this comes from in source, but if I inspect a layer object it exists on it indicating the HTTP verb
  • Loading branch information
douglasg14b committed May 6, 2024
1 parent 4ceb95c commit e17eed1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/express-serve-static-core/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ export interface ILayer {
params?: Record<string, any>;
keys: string[];
path?: string;
method: string;
regexp: RegExp;
handle: (req: Request, res: Response, next: NextFunction) => any;
}
Expand Down

0 comments on commit e17eed1

Please sign in to comment.