Initial commit
This commit is contained in:
14
node_modules/@tanstack/react-query/build/modern/utils.js
generated
vendored
Normal file
14
node_modules/@tanstack/react-query/build/modern/utils.js
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
// 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
|
||||
Reference in New Issue
Block a user