[ui]: types: router type needed typeof instead of direct

This commit is contained in:
41666 2019-06-05 12:51:33 -05:00
parent f99c0e92e5
commit c1bdc9ddc9
No known key found for this signature in database
GPG key ID: DE08FAA8925DC747

View file

@ -1,6 +1,6 @@
import Router from 'next/router'
export type PageProps = {
router: Router,
router: typeof Router,
dispatch: (...stuff: any) => any
}