Files
est-frame/node_modules/bail/index.d.ts
2025-10-22 05:38:27 +00:00

11 lines
234 B
TypeScript
Executable File

/**
* Throw a given error.
*
* @param {Error|null|undefined} [error]
* Maybe error.
* @returns {asserts error is null|undefined}
*/
export function bail(
error?: Error | null | undefined
): asserts error is null | undefined