Skip to content

Commit

Permalink
React Link prop type fixes (#1088)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecAivazis committed May 15, 2023
1 parent 580554b commit b649784
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ export function Link({
}: {
href: string
children: React.ReactNode
style?: React.CSSProperties
}) {
} & React.AnchorHTMLAttributes<HTMLAnchorElement>) {
// grab the router context
const { goto } = useNavigationContext()

Expand Down
Original file line number Diff line number Diff line change
@@ -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'
}

0 comments on commit b649784

Please sign in to comment.