UNPKG

@cloud-copilot/cli

Version:

A standardized library for CLI building TypeScript CLI applications

14 lines 475 B
/** * Optionally print a message and exit the process with the given exit code. * * @param exitCode the exit code to use * @param message the message to print */ export declare function exit(exitCode: number, message: string | undefined): void; /** * A utility type to ensure that T has exactly the keys of U, no more and no less. */ export type NoExtraKeys<T, Shape> = { [K in keyof T]: K extends keyof Shape ? T[K] : never; }; //# sourceMappingURL=utils.d.ts.map