Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5021.js (118.4 MB)
35 lines
1 KiB
TypeScript
35 lines
1 KiB
TypeScript
// Module ID: 13794
|
|
// Function ID: 13795
|
|
// Name: ErrorCommonUtils
|
|
// Dependencies: [573, 509, 2]
|
|
// Exports: getUpdatedOptions
|
|
|
|
// Module 13794 (ErrorCommonUtils)
|
|
import LastFewActions from "LastFewActions" /* 509 */;
|
|
import DispatcherDefault from "Dispatcher" /* 573 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const result = size.fileFinishedImporting("utils/ErrorCommonUtils.tsx");
|
|
|
|
export const getUpdatedOptions = function getUpdatedOptions(extra) {
|
|
const obj = {};
|
|
const merged = Object.assign(extra);
|
|
extra = undefined;
|
|
if (extra != null) {
|
|
extra = extra.extra;
|
|
}
|
|
const merged1 = Object.assign(extra);
|
|
if (null != DispatcherDefault._currentDispatchActionType) {
|
|
const obj3 = { currentAction: DispatcherDefault._currentDispatchActionType };
|
|
let obj4 = obj3;
|
|
} else {
|
|
obj4 = {};
|
|
}
|
|
const obj5 = {};
|
|
const merged2 = Object.assign(obj4);
|
|
const serializer = LastFewActions;
|
|
obj5.lastFewActions = serializer.serialize();
|
|
const merged3 = Object.assign(obj5);
|
|
obj.extra = {};
|
|
return obj;
|
|
};
|