Skip to content

Commit 6ea7900

Browse files
authored
fix: duplicate generated type config naming (#2158)
1 parent 829e4cc commit 6ea7900

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/vue-i18n-core/src/types.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { IsNever } from '@intlify/core-base'
1+
import type { GeneratedTypeConfig, IsNever } from '@intlify/core-base'
22
import type { ExportedGlobalComposer } from './i18n'
33
import type { VueI18n } from './legacy'
44

@@ -16,14 +16,14 @@ export type Disposer = () => void
1616
* ```ts
1717
* // generated-i18n-types.d.ts (`.d.ts` file at your app)
1818
*
19-
* declare module '@intlify/vue-i18n-core' {
19+
* declare module '@intlify/core-base' {
2020
* interface GeneratedTypeConfig {
2121
* legacy: false
2222
* }
2323
* }
2424
* ```
2525
*/
26-
export interface GeneratedTypeConfig {}
26+
export { GeneratedTypeConfig }
2727

2828
/**
2929
* Narrowed i18n instance type based on `GeneratedTypeConfig['legacy']`

0 commit comments

Comments
 (0)