37 lines
1.1 KiB
TypeScript
37 lines
1.1 KiB
TypeScript
// Module ID: 14218
|
|
// Function ID: 14219
|
|
// Name: ErrorCommonUtils
|
|
// Dependencies: [584, 509, 2]
|
|
// Exports: getUpdatedOptions
|
|
|
|
// Module 14218 (ErrorCommonUtils)
|
|
import LastFewActions from "LastFewActions" /* 509 */;
|
|
import DispatcherDefault from "Dispatcher" /* 584 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const result = size.fileFinishedImporting("utils/ErrorCommonUtils.tsx");
|
|
|
|
export const getUpdatedOptions = function getUpdatedOptions(extra) {
|
|
let obj2;
|
|
let obj4;
|
|
let serializer;
|
|
const obj = { extra: obj2 };
|
|
const merged = Object.assign(extra);
|
|
extra = undefined;
|
|
if (extra != null) {
|
|
extra = extra.extra;
|
|
}
|
|
obj2 = {};
|
|
const merged1 = Object.assign(extra);
|
|
if (null != DispatcherDefault._currentDispatchActionType) {
|
|
obj4 = { currentAction: DispatcherDefault._currentDispatchActionType };
|
|
const obj3 = { currentAction: DispatcherDefault._currentDispatchActionType };
|
|
} else {
|
|
obj4 = {};
|
|
}
|
|
const obj5 = { lastFewActions: serializer.serialize() };
|
|
const merged2 = Object.assign(obj4);
|
|
serializer = LastFewActions;
|
|
const merged3 = Object.assign(obj5);
|
|
return obj;
|
|
};
|