Skip to content

Commit

Permalink
fix: fixed type
Browse files Browse the repository at this point in the history
  • Loading branch information
BowlingX committed Feb 1, 2023
1 parent 4168bd9 commit 94572e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/adapters/nextjs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import { shallow } from 'zustand/shallow'
import { StoreState } from '../../middleware.js'
import { HistoryManagement, StoreContext, useGeschichte } from '../../store.js'
import type { UrlObject } from 'url'
import type { ParsedUrlQuery } from 'querystring'

const split = (url?: string) => url?.split('?') || []

Expand All @@ -37,7 +38,7 @@ interface Props {
readonly defaultReplaceOptions?: TransitionOptions
// tslint:disable-next-line:no-mixed-interface
readonly routerAsPath?: () => string
readonly routerQuery?: () => string
readonly routerQuery?: () => ParsedUrlQuery
readonly routerPush?: (
url: Url,
as: UrlObject,
Expand Down

0 comments on commit 94572e7

Please sign in to comment.