Skip to content

Commit

Permalink
fix generate type
Browse files Browse the repository at this point in the history
  • Loading branch information
ssanjay1 committed Feb 14, 2024
1 parent 0fa395a commit 493acd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export interface BulkActions {
* Creates a new Todo
*/
createTodo<O extends BulkActionExecutionOptions>(
params: {}[],
params: Record<string, never>[],
options?: O,
): Promise<Result<BulkActionResponseFromOptions<O, Edits<Todo, void>>, ActionError>>;
}
2 changes: 1 addition & 1 deletion packages/generator/src/v1.1/generateBulkActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export async function generateBulkActions(
}
parameterBlock += "}[], ";
} else {
parameterBlock = `params: {}[], `;
parameterBlock = `params: Record<string,never>[], `;
}

jsDocBlock.push(`*/`);
Expand Down

0 comments on commit 493acd0

Please sign in to comment.