Skip to content

Commit

Permalink
idk why but it just works
Browse files Browse the repository at this point in the history
  • Loading branch information
arily committed Jul 8, 2024
1 parent 3c3efaf commit f514142
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/locales/@types.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { VueMessageType } from '@nuxtjs/i18n/dist/runtime/composables'
import type { LocaleMessageValue, VueMessageType } from '@nuxtjs/i18n/dist/runtime/composables'
import type { DeepPartial } from '@trpc/server'
import type { CountryCode } from '~/def/country-code'
import type { GucchoError } from '~/def/messages'
Expand Down Expand Up @@ -80,7 +80,7 @@ export interface GlobalI18n extends PathAccessibleObject {
}>
}

interface T { [x: string]: localeMessages<VueMessageType> }
interface T { [x: string]: LocaleMessages<VueMessageValue> }
export interface AllLocales extends T {
[lang in Lang]: lang extends Lang.enGB ? GlobalI18n : DeepPartial<GlobalI18n>
}

0 comments on commit f514142

Please sign in to comment.