cohorta/node_modules/@tanstack/react-query/build/legacy/utils.js
2025-12-19 19:26:16 +00:00

14 lines
No EOL
261 B
JavaScript
Executable file

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