Skip to content

Commit 6b3d657

Browse files
committed
test(solid-router): type the blocker resolver without a private import
1 parent 4fc607b commit 6b3d657

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎packages/solid-router/tests/observe-navigation.test.tsx‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ import {
3131
redirect,
3232
useBlocker,
3333
} from '../src'
34-
import type { BlockerResolver } from '../src'
3534

3635
beforeEach(() => attribution.enable({ log: false }))
3736
afterEach(() => {
@@ -47,7 +46,7 @@ const navigations = () =>
4746
const click = (target: string, fn: () => void) =>
4847
OBSERVE!.attribution.withInteraction({ type: 'click', target }, fn)
4948

50-
let resolver: (() => BlockerResolver) | undefined
49+
let resolver: ReturnType<typeof useBlocker> | undefined
5150
let blocking = false
5251

5352
function Guard() {

0 commit comments

Comments
 (0)