decord/alpha/source/utils/ErrorCommonUtils.tsx
github-actions c8aa6b4991 chore: update source for alpha 349.0
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5021.js (118.4 MB)
2026-09-28 07:47:09 +00:00

35 lines
1 KiB
TypeScript

// Module ID: 13625
// Function ID: 13626
// Name: ErrorCommonUtils
// Dependencies: [573, 509, 2]
// Exports: getUpdatedOptions
// Module 13625 (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;
};