diff --git a/Libraries/Components/TextInput/TextInput.d.ts b/Libraries/Components/TextInput/TextInput.d.ts index 637807aafd3864..80e8df0c03daca 100644 --- a/Libraries/Components/TextInput/TextInput.d.ts +++ b/Libraries/Components/TextInput/TextInput.d.ts @@ -21,7 +21,7 @@ import { NativeTouchEvent, TargetedEvent, } from '../../Types/CoreEventTypes'; -import {EventEmitter} from '../../vendor/emitter/EventEmitter'; +import EventEmitter from '../../vendor/emitter/EventEmitter'; import {AccessibilityProps} from '../View/ViewAccessibility'; import {ViewProps} from '../View/ViewPropTypes'; diff --git a/Libraries/EventEmitter/NativeEventEmitter.d.ts b/Libraries/EventEmitter/NativeEventEmitter.d.ts index c9f30d0cceb41e..911d0a7ca8a7f8 100644 --- a/Libraries/EventEmitter/NativeEventEmitter.d.ts +++ b/Libraries/EventEmitter/NativeEventEmitter.d.ts @@ -7,9 +7,8 @@ * @format */ -import { +import EventEmitter, { EmitterSubscription, - EventEmitter, } from '../vendor/emitter/EventEmitter'; /** diff --git a/Libraries/EventEmitter/RCTDeviceEventEmitter.d.ts b/Libraries/EventEmitter/RCTDeviceEventEmitter.d.ts index 1e92935b9b5b12..7c5563bac35a85 100644 --- a/Libraries/EventEmitter/RCTDeviceEventEmitter.d.ts +++ b/Libraries/EventEmitter/RCTDeviceEventEmitter.d.ts @@ -7,9 +7,8 @@ * @format */ -import { +import EventEmitter, { EmitterSubscription, - EventEmitter, EventSubscriptionVendor, } from '../vendor/emitter/EventEmitter'; diff --git a/Libraries/vendor/emitter/EventEmitter.d.ts b/Libraries/vendor/emitter/EventEmitter.d.ts index 297b89e8a459ac..148bff33d0a868 100644 --- a/Libraries/vendor/emitter/EventEmitter.d.ts +++ b/Libraries/vendor/emitter/EventEmitter.d.ts @@ -104,7 +104,7 @@ interface EmitterSubscription extends EventSubscription { remove(): void; } -export declare class EventEmitter { +export default class EventEmitter { /** * * @param subscriber - Optional subscriber instance