Skip to content

Commit

Permalink
add the type in the createTypes.
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushNautiyalDeveloper committed Dec 3, 2023
1 parent e78d376 commit 9b71196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/createTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const generator = new TypeScriptGenerator({
},
});

export async function createTypes(payload): Promise<any> {
export async function createTypes(payload: any): Promise<any> {
const models = await generator.generate(payload[0].payload);
for (const model of models) {
return model.result;
Expand Down

0 comments on commit 9b71196

Please sign in to comment.