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;