@mornya/cli-libs
Version:
The project of the utilities for CLI.
10 lines (9 loc) • 454 B
TypeScript
type CheckLazyEmitBeforeExitOption = {
display?: (latestVersion: string) => void;
install?: 'global' | 'local' | 'none-global' | 'none-local';
delay?: number;
};
export declare function checkLazyNpm(dep: string): Promise<string>;
export declare function checkLazyYarn(dep: string): Promise<string>;
export declare function checkLazyEmitBeforeExit(dep: string, currentVersion: string, option?: CheckLazyEmitBeforeExitOption): void;
export {};