@omni-door/cli
Version:
A tool set for set up the standard JS project
7 lines (6 loc) • 330 B
TypeScript
import type { PLUGIN_STAGE } from '@omni-door/utils';
import type { HandlerFactory, PluginHandler, OmniPlugin } from '../index.d';
export declare function getHandlers<T extends PLUGIN_STAGE>(plugins: OmniPlugin<T>[], stage: T): {
[pluginName: string]: PluginHandler<T>;
};
export declare const handlerFactory: HandlerFactory;