Skip to content

Commit

Permalink
Don't update UpdateManyParams
Browse files Browse the repository at this point in the history
  • Loading branch information
zhujinxuan committed Mar 29, 2023
1 parent 6096a0e commit bf819ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ra-core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ export interface UpdateResult<RecordType extends RaRecord = any> {
data: RecordType;
}

export interface UpdateManyParams<T extends RaRecord = any> {
ids: T['id'][];
export interface UpdateManyParams<T = any> {
ids: Identifier;
data: T;
meta?: any;
}
Expand Down

0 comments on commit bf819ca

Please sign in to comment.