From 0e29ad60140d883c295a0d8eaa8baac43af1abc3 Mon Sep 17 00:00:00 2001 From: abfarah Date: Wed, 4 Aug 2021 12:07:54 -0500 Subject: [PATCH] bugfix removed extra collection map --- serialization/typescript/json/src/jsonParseNode.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/serialization/typescript/json/src/jsonParseNode.ts b/serialization/typescript/json/src/jsonParseNode.ts index 4d46495b88..702aee7de7 100644 --- a/serialization/typescript/json/src/jsonParseNode.ts +++ b/serialization/typescript/json/src/jsonParseNode.ts @@ -17,7 +17,6 @@ export class JsonParseNode implements ParseNode { public getDateValue = (): Date => this._jsonNode as Date; public getCollectionOfPrimitiveValues = (): T[] | undefined => { return (this._jsonNode as unknown[]) - .map(x => new JsonParseNode(x)) .map(x => { const currentParseNode = new JsonParseNode(x); if(x instanceof Boolean) {