Skip to content

Commit 52a55c0

Browse files
fix: update MountOptions.components type (#2128)
1 parent 9442bba commit 52a55c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/vue-i18n-core/test/helper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import {
1313

1414
import type {
1515
App,
16+
Component,
1617
ComponentObjectPropsOptions,
17-
ComponentOptions,
1818
ComponentPublicInstance,
1919
VNode
2020
} from 'vue'
@@ -24,7 +24,7 @@ import type { I18nPluginOptions } from '../src/plugin/types'
2424
export interface MountOptions {
2525
propsData: Record<string, any> // eslint-disable-line @typescript-eslint/no-explicit-any
2626
provide: Record<string | symbol, any> // eslint-disable-line @typescript-eslint/no-explicit-any
27-
components: ComponentOptions['components']
27+
components: Record<string, Component>
2828
slots: Record<string, string>
2929
installI18n: boolean
3030
pluginOptions?: I18nPluginOptions

0 commit comments

Comments
 (0)