@t1mmen/srtd
Version:
Supabase Repeatable Template Definitions (srtd): 🪄 Live-reloading SQL templates for Supabase DX. Make your database changes reviewable and migrations maintainable! 🚀
10 lines (9 loc) • 303 B
TypeScript
/**
* Extracts error message from unknown error type.
* Handles Error instances and arbitrary values.
*/
export declare function getErrorMessage(error: unknown): string;
/**
* Checks if an error is an Inquirer prompt exit (Ctrl+C).
*/
export declare function isPromptExit(error: unknown): boolean;