better-npm-init
Version:
A better version of npm init, with templates and more. Usage: better-npm-init <template> [--yarn] [--install] [--git] [--yes] [--help]
12 lines (11 loc) • 516 B
TypeScript
import { ElectronProcess, ForgeConfig, ForgeHookFn, IForgePlugin, StartOptions } from '@electron-forge/shared-types';
export { StartOptions };
export default abstract class Plugin<C> implements IForgePlugin {
config: C;
abstract name: string;
__isElectronForgePlugin: true;
constructor(config: C);
init(_dir: string, _config: ForgeConfig): void;
getHook(_hookName: string): ForgeHookFn | null;
startLogic(_startOpts: StartOptions): Promise<ElectronProcess | string | string[] | false>;
}