expo-modules-core
Version:
The core of Expo Modules architecture
14 lines • 571 B
TypeScript
import type { EventEmitter, EventsMap } from './EventEmitter';
/**
* A class for all native modules. Extends the {@link EventEmitter} class.
*/
export declare class NativeModule<TEventsMap extends EventsMap = Record<never, never>> extends EventEmitter<TEventsMap> {
/**
* A prototype of the native component exported by the module.
* @deprecated It will be removed in favor of another API that supports multiple components per module.
* @private
*/
ViewPrototype?: object;
[key: string]: any;
}
//# sourceMappingURL=NativeModule.d.ts.map