From f90938125b0a7f44a197e8aa8bfe83737501c1a1 Mon Sep 17 00:00:00 2001 From: Kael Date: Tue, 16 Apr 2024 01:16:54 +1000 Subject: [PATCH] chore: revert default TDate change --- packages/vuetify/src/composables/date/__tests__/date.spec.ts | 2 +- packages/vuetify/src/composables/date/date.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vuetify/src/composables/date/__tests__/date.spec.ts b/packages/vuetify/src/composables/date/__tests__/date.spec.ts index 27e79662243..b2af27f9939 100644 --- a/packages/vuetify/src/composables/date/__tests__/date.spec.ts +++ b/packages/vuetify/src/composables/date/__tests__/date.spec.ts @@ -13,7 +13,7 @@ function expectAssignable (value: T2): void {} describe('date.ts', () => { // Cannot define properties that don't exist in date-io - expectAssignable({} as IUtils) + expectAssignable({} as IUtils) // @ts-expect-error Can implement a subset of date-io expectAssignable>({} as DateAdapter) diff --git a/packages/vuetify/src/composables/date/date.ts b/packages/vuetify/src/composables/date/date.ts index 1e4ac4eaea0..bfd38998a87 100644 --- a/packages/vuetify/src/composables/date/date.ts +++ b/packages/vuetify/src/composables/date/date.ts @@ -21,7 +21,7 @@ export interface DateInstance extends DateModule.InternalAdapter { export namespace DateModule { interface Adapter {} - export type InternalAdapter = {} extends Adapter ? DateAdapter : Adapter + export type InternalAdapter = {} extends Adapter ? DateAdapter : Adapter } export type InternalDateOptions = {