File tree Expand file tree Collapse file tree 3 files changed +25
-23
lines changed
packages/vue-i18n-core/src Expand file tree Collapse file tree 3 files changed +25
-23
lines changed Original file line number Diff line number Diff line change @@ -60,25 +60,6 @@ import type {
6060} from './legacy'
6161import type { Disposer } from './types'
6262
63- declare module 'vue' {
64- // eslint-disable-next-line
65- interface App < HostElement = any > {
66- __VUE_I18N__ ?: I18n & I18nInternal
67- __VUE_I18N_SYMBOL__ ?: InjectionKey < I18n > | string
68- }
69- }
70-
71- // internal Component Instance API isCE
72- declare module 'vue' {
73- export interface ComponentInternalInstance {
74- /**
75- * @internal
76- * is custom element?
77- */
78- isCE ?: boolean
79- }
80- }
81-
8263/**
8364 * I18n Options for `createI18n`
8465 *
Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ export const VERSION: string = __VERSION__
1212
1313/**
1414 * This is only called in esm-bundler builds.
15- * istanbul-ignore-next
15+ * @description **Don't use this function in your application code.**
1616 *
17- * @internal
17+ * istanbul-ignore-next
1818 */
1919export function initFeatureFlags ( ) : void {
2020 if ( typeof __FEATURE_FULL_INSTALL__ !== 'boolean' ) {
@@ -36,9 +36,9 @@ export function initFeatureFlags(): void {
3636
3737/**
3838 * This is only called development env
39- * istanbul-ignore-next
39+ * @description **Don't use this function in your application code.**
4040 *
41- * @internal
41+ * istanbul-ignore-next
4242 */
4343export function initDev ( ) : void {
4444 if ( __BROWSER__ ) {
Original file line number Diff line number Diff line change 1+ import type { InjectionKey } from 'vue'
2+ import type { I18n , I18nInternal } from './i18n'
3+
4+ declare module 'vue' {
5+ // eslint-disable-next-line
6+ export interface App < HostElement = any > {
7+ __VUE_I18N__ ?: I18n & I18nInternal
8+ __VUE_I18N_SYMBOL__ ?: InjectionKey < I18n > | string
9+ }
10+ }
11+
12+ // internal Component Instance API isCE
13+ declare module 'vue' {
14+ export interface ComponentInternalInstance {
15+ /**
16+ * @internal
17+ * iskk custom element?
18+ */
19+ isCE ?: boolean
20+ }
21+ }
You can’t perform that action at this time.
0 commit comments