36 lines
984 B
TypeScript
36 lines
984 B
TypeScript
// Module ID: 14119
|
|
// Function ID: 14120
|
|
// Name: getUpdatedOptions
|
|
// Dependencies: [706, 591, 2]
|
|
// Exports: getUpdatedOptions
|
|
|
|
// Module 14119 (getUpdatedOptions)
|
|
import set from "set" /* 2 */;
|
|
import add from "add" /* 591 */;
|
|
import dispatcherDefault from "dispatcher" /* 706 */;
|
|
|
|
const result = set.fileFinishedImporting("utils/ErrorCommonUtils.tsx");
|
|
|
|
export const getUpdatedOptions = function getUpdatedOptions(extra) {
|
|
let obj = {};
|
|
const merged = Object.assign(extra);
|
|
extra = undefined;
|
|
if (extra != null) {
|
|
extra = extra.extra;
|
|
}
|
|
obj = {};
|
|
const merged1 = Object.assign(extra);
|
|
if (null != dispatcherDefault._currentDispatchActionType) {
|
|
obj = { currentAction: null };
|
|
obj[0] = dispatcherDefault._currentDispatchActionType;
|
|
obj1 = obj;
|
|
} else {
|
|
obj1 = {};
|
|
}
|
|
const obj2 = {};
|
|
const merged2 = Object.assign(obj1);
|
|
obj2.lastFewActions = add.serialize();
|
|
const merged3 = Object.assign(obj2);
|
|
obj.extra = obj;
|
|
return obj;
|
|
};
|