Skip to content

Commit

Permalink
Remove implicitly any type
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraBeatris committed Aug 3, 2020
1 parent 6a69118 commit dabc6dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/client/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ coreMethodFields.forEach((field) => {

routerEvents.forEach((event) => {
singletonRouter.ready(() => {
Router.events.on(event, (...args) => {
Router.events.on(event, (...args: any[]) => {
const eventField = `on${event.charAt(0).toUpperCase()}${event.substring(
1
)}`
Expand Down

0 comments on commit dabc6dc

Please sign in to comment.