Skip to content

Commit

Permalink
Merge pull request #445 from microsoft/bugfix/typescript-deserializer
Browse files Browse the repository at this point in the history
bugfix/Typescript removed extra collection map
  • Loading branch information
baywet authored Aug 4, 2021
2 parents 43e16bd + 0e29ad6 commit 48f0fbf
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 48f0fbf

Please sign in to comment.