better-npm-init
Version:
A better version of npm init, with templates and more. Usage: better-npm-init <template> [--yarn] [--install] [--git] [--yes] [--help]
16 lines (15 loc) • 473 B
TypeScript
import { OraImpl } from '@electron-forge/async-ora';
export interface InstallerOptions {
filePath: string;
installSpinner: OraImpl;
}
export default abstract class Installer {
abstract name: string;
__isElectronForgeInstaller: boolean;
constructor();
/**
* Installers must implement this method and install the given filePath
* when called. This method must return a promise
*/
install(_opts: InstallerOptions): Promise<void>;
}