diff --git a/packages/one/src/interfaces/router.ts b/packages/one/src/interfaces/router.ts index fe7107ea7..58059335e 100644 --- a/packages/one/src/interfaces/router.ts +++ b/packages/one/src/interfaces/router.ts @@ -4,7 +4,7 @@ import type { PartialState, } from '@react-navigation/core' import type { ReactNode } from 'react' -import type { TextProps, GestureResponderEvent } from 'react-native' +import type { TextProps, GestureResponderEvent, PressableProps } from 'react-native' export namespace OneRouter { export interface __routes extends Record {} @@ -305,7 +305,8 @@ export namespace OneRouter { } export interface LinkProps - extends Omit, + extends Omit, + Pick, WebAnchorProps { /** Path to route to. */ href: Href