mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-04-25 12:19:10 +00:00
[ui]: types: router type needed typeof instead of direct
This commit is contained in:
parent
f99c0e92e5
commit
c1bdc9ddc9
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
import Router from 'next/router'
|
import Router from 'next/router'
|
||||||
|
|
||||||
export type PageProps = {
|
export type PageProps = {
|
||||||
router: Router,
|
router: typeof Router,
|
||||||
dispatch: (...stuff: any) => any
|
dispatch: (...stuff: any) => any
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue