From 4c89824b60be46be27b86048102628fdfa1953c6 Mon Sep 17 00:00:00 2001 From: flavien Date: Wed, 18 Dec 2024 17:08:31 +0100 Subject: [PATCH] Add deprecation message --- packages/x-date-pickers/src/models/adapters.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/x-date-pickers/src/models/adapters.ts b/packages/x-date-pickers/src/models/adapters.ts index 4c182413f444c..f91b44dc2d452 100644 --- a/packages/x-date-pickers/src/models/adapters.ts +++ b/packages/x-date-pickers/src/models/adapters.ts @@ -191,9 +191,10 @@ export interface MuiPickersAdapter { value?: T, timezone?: PickersTimezone, ): DateBuilderReturnType; + // 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;