Files
chat-proxy/frontend/node_modules/bail/index.d.ts
T
Samuele E. Locatelli 1d4b5aba63 Init repo con git
2025-08-21 08:59:27 +00:00

11 lines
234 B
TypeScript

/**
* 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