Skip to content

Commit dc4d246

Browse files
committed
InjectionKey
1 parent 640b26d commit dc4d246

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/option/inject.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
import type { InjectionKey } from 'vue'
12
import type { Cons } from '../component'
23
import type { OptionBuilder } from '../optionBuilder'
34
import { obtainSlot, optoinNullableMemberDecorator } from '../utils'
45

56
export interface InjectConfig {
6-
from?: string | symbol
7+
from?: string | symbol | Symbol | InjectionKey<any>
78
default?: any
89
}
910

0 commit comments

Comments
 (0)