diff --git a/packages/ra-core/src/types.ts b/packages/ra-core/src/types.ts index 3b210fee4d6..174c6cd32d8 100644 --- a/packages/ra-core/src/types.ts +++ b/packages/ra-core/src/types.ts @@ -248,8 +248,8 @@ export type OnSuccess = ( context?: any ) => void; -// @deprecated - use OnError instead export type OnError = (error?: any, variables?: any, context?: any) => void; +// @deprecated - use OnError instead export type onError = OnError; export type TransformData = (