diff --git a/packages/react-native/types/__typetests__/index.tsx b/packages/react-native/types/__typetests__/index.tsx index 23b15ad3171d6e..d73b93d1459ae6 100644 --- a/packages/react-native/types/__typetests__/index.tsx +++ b/packages/react-native/types/__typetests__/index.tsx @@ -40,6 +40,8 @@ import { DrawerLayoutAndroid, DrawerSlideEvent, DynamicColorIOS, + EmitterSubscription, + EventSubscription, FlatList, FlatListProps, GestureResponderEvent, diff --git a/packages/react-native/types/index.d.ts b/packages/react-native/types/index.d.ts index d50dd04b12b602..5177707cc0f7b4 100644 --- a/packages/react-native/types/index.d.ts +++ b/packages/react-native/types/index.d.ts @@ -147,6 +147,10 @@ export * from '../Libraries/Utilities/Platform'; export * from '../Libraries/Vibration/Vibration'; export * from '../Libraries/YellowBox/YellowBoxDeprecated'; export * from '../Libraries/vendor/core/ErrorUtils'; +export { + EmitterSubscription, + EventSubscription, +} from '../Libraries/vendor/emitter/EventEmitter'; export * from './public/DeprecatedPropertiesAlias'; export * from './public/Insets';