UNPKG

@omni-door/cli

Version:

A tool set for set up the standard JS project

18 lines (17 loc) 508 B
import type { OmniConfig } from '../../index.d'; export default function (config: OmniConfig | null, componentName: string, options?: { function?: boolean; class?: boolean; render?: boolean; single?: boolean; tplPkj?: string; tplPkjTag?: string; before?: (params: { root: string; componentName: string; }) => (void | Promise<any>); after?: (params: { root: string; componentName: string; }) => (void | Promise<any>); }): Promise<void>;