diff --git a/examples/one_dot_one/src/generatedNoCheck/ontology/actions/BulkActions.ts b/examples/one_dot_one/src/generatedNoCheck/ontology/actions/BulkActions.ts index 7a90b46b4..e23e002b2 100644 --- a/examples/one_dot_one/src/generatedNoCheck/ontology/actions/BulkActions.ts +++ b/examples/one_dot_one/src/generatedNoCheck/ontology/actions/BulkActions.ts @@ -38,7 +38,7 @@ export interface BulkActions { * Creates a new Todo */ createTodo( - params: {}[], + params: Record[], options?: O, ): Promise>, ActionError>>; } diff --git a/packages/generator/src/v1.1/generateBulkActions.ts b/packages/generator/src/v1.1/generateBulkActions.ts index ed849163f..9eab825e3 100644 --- a/packages/generator/src/v1.1/generateBulkActions.ts +++ b/packages/generator/src/v1.1/generateBulkActions.ts @@ -63,7 +63,7 @@ export async function generateBulkActions( } parameterBlock += "}[], "; } else { - parameterBlock = `params: {}[], `; + parameterBlock = `params: Record[], `; } jsDocBlock.push(`*/`);