diff --git a/packages/houdini-react/src/runtime/routing/components/Link.tsx b/packages/houdini-react/src/runtime/routing/components/Link.tsx index 268693c85..ba527a5f8 100644 --- a/packages/houdini-react/src/runtime/routing/components/Link.tsx +++ b/packages/houdini-react/src/runtime/routing/components/Link.tsx @@ -10,8 +10,7 @@ export function Link({ }: { href: string children: React.ReactNode - style?: React.CSSProperties -}) { +} & React.AnchorHTMLAttributes) { // grab the router context const { goto } = useNavigationContext() diff --git a/packages/houdini-react/src/runtime/routing/lib/is_pending.tsx b/packages/houdini-react/src/runtime/routing/lib/is_pending.tsx index 898d00c53..bb06a0aad 100644 --- a/packages/houdini-react/src/runtime/routing/lib/is_pending.tsx +++ b/packages/houdini-react/src/runtime/routing/lib/is_pending.tsx @@ -1,3 +1,5 @@ -export function isPending(value: any): value is symbol { +import { PendingValue } from '$houdini/runtime/lib/types' + +export function isPending(value: any): value is typeof PendingValue { return typeof value === 'symbol' }