UNPKG

frontity

Version:

Frontity cli and entry point to other packages

18 lines (17 loc) 669 B
import { CreateCommandOptions } from "../steps/types"; import { EventPromised } from "../utils/eventPromised"; /** * The types of events supported by the EventEmitter generated by `EventPromised`. */ declare type EventTypes = "error" | "message" | "subscribe"; declare const _default: (options?: CreateCommandOptions) => EventPromised<EventTypes>; /** * The create command, exported to be used programatically. * * @param options - The options of the create command. Defined by {@link * CreateCommandOptions}. * * @returns An instance of {@link EventPromised}, which is a promise that can * also send events using an EventEmitter. */ export default _default;