14 lines
261 B
JavaScript
Raw Permalink Normal View History

2025-06-22 00:12:25 +03:00
// src/utils.ts
function shouldThrowError(throwError, params) {
if (typeof throwError === "function") {
return throwError(...params);
}
return !!throwError;
}
function noop() {
}
export {
noop,
shouldThrowError
};
//# sourceMappingURL=utils.js.map