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'
19
19
import { fallbackWithSimple } from './fallbacker'
20
20
21
21
import 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'
23
25
import type { Path , MessageResolver } from './resolver'
24
26
import type {
25
27
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 ,
4
5
IntlifyDevToolsEmitter ,
5
6
IntlifyDevToolsHookPayloads
6
- } from '@intlify/ devtools-if'
7
+ } from '../../ devtools-if/src/index '
7
8
8
9
let devtools : IntlifyDevToolsEmitter | null = null
9
10
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ export type MessageFunctionCallable = <T = string>(
46
46
ctx : MessageContext < T >
47
47
) => MessageFunctionReturn < T >
48
48
49
- /** * @internal */
50
49
export type MessageFunctionInternal < T = string > = {
51
50
( ctx : MessageContext < T > ) : MessageFunctionReturn < T >
52
51
key ?: string
You can’t perform that action at this time.
0 commit comments