Fix undefined array values being null after serialization
This commit is contained in:
Родитель
b5370ecc39
Коммит
6d62ac6c2e
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azure-devops-extension-sdk",
|
||||
"version": "2.0.8",
|
||||
"version": "2.0.9",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azure-devops-extension-sdk",
|
||||
"version": "2.0.8",
|
||||
"version": "2.0.9",
|
||||
"description": "Azure DevOps web extension JavaScript library.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -460,6 +460,7 @@ export class XDMChannel implements IXDMChannel {
|
|||
|
||||
var itemType = typeof item;
|
||||
if (itemType === "undefined") {
|
||||
newObject[key] = undefined;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче