@barguide/react-hooks
Version:
TypeScript | React Hooks
11 lines (10 loc) • 430 B
TypeScript
/// <reference types="node" />
import { EventEmitter } from 'events';
/**
* @external https://nodejs.org/api/events.html
* @description Much of the Node.js core API is built around an idiomatic
* asynchronous event-driven architecture in which certain kinds of objects
* (called "emitters") emit named events that cause Function objects
* ("listeners") to be called.
*/
export declare const emitter: EventEmitter;