We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 640b26d commit dc4d246Copy full SHA for dc4d246
src/option/inject.ts
@@ -1,9 +1,10 @@
1
+import type { InjectionKey } from 'vue'
2
import type { Cons } from '../component'
3
import type { OptionBuilder } from '../optionBuilder'
4
import { obtainSlot, optoinNullableMemberDecorator } from '../utils'
5
6
export interface InjectConfig {
- from?: string | symbol
7
+ from?: string | symbol | Symbol | InjectionKey<any>
8
default?: any
9
}
10
0 commit comments