Skip to content

Commit b19a5e0

Browse files
committed
fix(@angular/ssr): allow using function with optional arguments
1 parent 1316930 commit b19a5e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/angular/ssr/src/handler.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
*/
1717
export type RequestHandlerFunction = (
1818
request: Request,
19+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
20+
...ignoredArgs: any[]
1921
) => Promise<Response | null> | null | Response;
2022

2123
/**

0 commit comments

Comments
 (0)