提交 9705ddc3 编写于 作者: A Alex Ross

Fix missing properties in task identifiers

Fixes #71179
上级 39f691ca
...@@ -943,7 +943,9 @@ export namespace KeyedTaskIdentifier { ...@@ -943,7 +943,9 @@ export namespace KeyedTaskIdentifier {
} }
export function create(value: TaskIdentifier): KeyedTaskIdentifier { export function create(value: TaskIdentifier): KeyedTaskIdentifier {
const resultKey = sortedStringify(value); const resultKey = sortedStringify(value);
return { _key: resultKey, type: value.taskType }; let result = { _key: resultKey, type: value.taskType };
Objects.assign(result, value);
return result;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册