frontend/.pnpm-store/v3/files/26/6f5e845af4defde0d1155e85549b05204cba40633409b5f89b1d34a8667fc2996351af65885047a78155a20ca134e6c028374f1325c61a56548fc011b29063-exec

19 lines
490 B
Plaintext
Executable File

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetOptionsObject = void 0;
/**
* https://tc39.es/ecma402/#sec-getoptionsobject
* @param options
* @returns
*/
function GetOptionsObject(options) {
if (typeof options === 'undefined') {
return Object.create(null);
}
if (typeof options === 'object') {
return options;
}
throw new TypeError('Options must be an object');
}
exports.GetOptionsObject = GetOptionsObject;