diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 28bb0a4058..a2eb459933 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -1839,7 +1839,7 @@ export interface AccessibilityPropsIOS { * When `accessible` is true, the system will try to invoke this function when the user performs accessibility tap gesture. * @platform ios */ - onAcccessibilityTap?: () => void; + onAccessibilityTap?: () => void; /** * When accessible is true, the system will invoke this function when the user performs the magic tap gesture. diff --git a/types/react-native/test/index.tsx b/types/react-native/test/index.tsx index aa22d21fd7..a339bb0e84 100644 --- a/types/react-native/test/index.tsx +++ b/types/react-native/test/index.tsx @@ -695,6 +695,7 @@ class AccessibilityTest extends React.Component { accessibilityElementsHidden={true} importantForAccessibility={"no-hide-descendants"} accessibilityTraits={'none'} + onAccessibilityTap={() => {}} > Text