@anb98/react-hooks
Version:
Custom hooks for react
13 lines • 645 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.globals = void 0;
exports.globals = {
baseURL: '',
headers: {},
withCredentials: false,
};
exports.default = (function (_a) {
var _b = _a.baseURL, baseURL = _b === void 0 ? exports.globals.baseURL : _b, _c = _a.headers, headers = _c === void 0 ? exports.globals.headers : _c, _d = _a.withCredentials, withCredentials = _d === void 0 ? exports.globals.withCredentials : _d;
return Object.assign(exports.globals, { baseURL: baseURL, headers: headers, withCredentials: withCredentials });
});
//# sourceMappingURL=setGlobals.js.map