Skip to content

Commit

Permalink
bugfix removed extra collection map
Browse files Browse the repository at this point in the history
  • Loading branch information
abfarah committed Aug 4, 2021
1 parent 47f57ce commit 0e29ad6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion serialization/typescript/json/src/jsonParseNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export class JsonParseNode implements ParseNode {
public getDateValue = (): Date => this._jsonNode as Date;
public getCollectionOfPrimitiveValues = <T>(): T[] | undefined => {
return (this._jsonNode as unknown[])
.map(x => new JsonParseNode(x))
.map(x => {
const currentParseNode = new JsonParseNode(x);
if(x instanceof Boolean) {
Expand Down

0 comments on commit 0e29ad6

Please sign in to comment.