type fixes

This commit is contained in:
Hailey
2024-12-01 17:38:07 -08:00
parent 04ccdd8540
commit 1831167aac
11 changed files with 63 additions and 40 deletions
+1
View File
@@ -31,6 +31,7 @@ export type ButtonType =
// Augment type for react-native-web (see https://github.com/necolas/react-native-web/issues/1684#issuecomment-766451866)
declare module 'react-native' {
interface PressableStateCallbackType {
// @ts-ignore web only
hovered?: boolean
focused?: boolean
}