Skip to content

Commit

Permalink
Add deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviendelangle committed Dec 18, 2024
1 parent 47cb95d commit 4c89824
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/x-date-pickers/src/models/adapters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,10 @@ export interface MuiPickersAdapter<TLocale = any> {
value?: T,
timezone?: PickersTimezone,
): DateBuilderReturnType<T>;
// TODO v9: Remove.
/**
* Creates an invalid date in the date library format.
* @deprecated TODO Add message
* @deprecated This method will be removed in the next major release (v9.0.0).
* @returns {PickerValidDate} The invalid date.
*/
getInvalidDate(): PickerValidDate;
Expand Down

0 comments on commit 4c89824

Please sign in to comment.