Skip to content

Commit

Permalink
[TS] Fix missing default Page type export (#11919)
Browse files Browse the repository at this point in the history
  • Loading branch information
Philzen authored Jan 26, 2025
1 parent 49dbc77 commit fdb0937
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/router/src/__tests__/pageLoadingContext.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
let mockDelay = 0
vi.mock('../page.js', async (importOriginal) => {
const actualUtil = await importOriginal<Page>()
const actualUtil = await importOriginal<PageType>()
const { lazy } = await vi.importActual<typeof React>('react')

return {
Expand Down Expand Up @@ -36,8 +36,7 @@ import {
useParams,
} from '../index.js'
import { useLocation } from '../location.js'
import type Page from '../page.js'
import type { Spec } from '../page.js'
import type { Spec, PageType } from '../page.js'
import { usePageLoadingContext } from '../PageLoadingContext.js'

// Running into intermittent test timeout behavior in
Expand Down

0 comments on commit fdb0937

Please sign in to comment.