Skip to content

Commit

Permalink
fix(next-route): make customHandler optional (#1821)
Browse files Browse the repository at this point in the history
  • Loading branch information
evenchange4 authored and AndrewSouthpaw committed Apr 4, 2018
1 parent 1494e2f commit 5df2f01
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -79,7 +79,7 @@ declare module 'next-routes' {
add(route: Route | string): Routes;
add(pattern: string, page: string): Routes;
add(name: string, pattern: string, page: string): Routes;
getRequestHandler(app: Object, customHandler: (any) => any): Function;
getRequestHandler(app: Object, customHandler?: (any) => any): Function;
pushRoute(
route: string,
params?: { [name: string]: string },
Expand Down

0 comments on commit 5df2f01

Please sign in to comment.