File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,9 @@ import { resolveWithKeyValue } from './resolver'
1919import { fallbackWithSimple } from './fallbacker'
2020
2121import type { CompileOptions , ResourceNode } from '@intlify/message-compiler'
22- import type { VueDevToolsEmitter } from '@intlify/vue-devtools'
22+ // HACK: embbed `@intlify/vue-devtools` types to `.d.ts`, because `@intlify/dev-tools` is devDependencies
23+ // TODO: Consider this type dependency when separating into intlify/core
24+ import type { VueDevToolsEmitter } from '../../vue-devtools/src/index'
2325import type { Path , MessageResolver } from './resolver'
2426import type {
2527 Locale ,
Original file line number Diff line number Diff line change 1- import { IntlifyDevToolsHooks } from '@intlify/devtools-if'
2-
3- import type {
1+ // HACK: embbed `@intlify/devtools-if` enum and type to `.d.ts`, because `@intlify/dev-tools` is devDependencies
2+ // TODO: Consider this type dependency when separating into intlify/core
3+ import {
4+ IntlifyDevToolsHooks ,
45 IntlifyDevToolsEmitter ,
56 IntlifyDevToolsHookPayloads
6- } from '@intlify/ devtools-if'
7+ } from '../../ devtools-if/src/index '
78
89let devtools : IntlifyDevToolsEmitter | null = null
910
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ export type MessageFunctionCallable = <T = string>(
4646 ctx : MessageContext < T >
4747) => MessageFunctionReturn < T >
4848
49- /** * @internal */
5049export type MessageFunctionInternal < T = string > = {
5150 ( ctx : MessageContext < T > ) : MessageFunctionReturn < T >
5251 key ?: string
You can’t perform that action at this time.
0 commit comments