decord/alpha/source/utils/ErrorCommonUtils.tsx
github-actions c6aa9eb120 chore: update source for alpha 349.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5030.js (118.4 MB)
2026-10-01 06:55:13 +00:00

35 lines
1 KiB
TypeScript

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