From a3e549dc94f5bfa7db5c5b3107975fe7d7d4030c Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Wed, 14 Aug 2024 15:37:34 -0400 Subject: [PATCH] chore: refreshes getting started ts client --- get-started/quickstart/typescript/client/models/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get-started/quickstart/typescript/client/models/index.ts b/get-started/quickstart/typescript/client/models/index.ts index ca611b501..87f332c4f 100644 --- a/get-started/quickstart/typescript/client/models/index.ts +++ b/get-started/quickstart/typescript/client/models/index.ts @@ -18,7 +18,7 @@ export function createPostFromDiscriminatorValue(parseNode: ParseNode | undefine * @returns {Record void>} */ // @ts-ignore -export function deserializeIntoPost(post: Partial | undefined | null = {}) : Record void> { +export function deserializeIntoPost(post: Partial | undefined = {}) : Record void> { return { "body": n => { post.body = n.getStringValue(); }, "id": n => { post.id = n.getNumberValue(); },