From 9b711969b3fdfdb913f7ef23b197219363bfb74f Mon Sep 17 00:00:00 2001 From: AyushNautiyalDeveloper Date: Sun, 3 Dec 2023 18:46:23 +0530 Subject: [PATCH] add the type in the createTypes. --- src/utils/createTypes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/createTypes.ts b/src/utils/createTypes.ts index 52eb6990e96..3c0ee20459f 100644 --- a/src/utils/createTypes.ts +++ b/src/utils/createTypes.ts @@ -9,7 +9,7 @@ const generator = new TypeScriptGenerator({ }, }); -export async function createTypes(payload): Promise { +export async function createTypes(payload: any): Promise { const models = await generator.generate(payload[0].payload); for (const model of models) { return model.result;