mini-ioc-vue
Advanced tools
Comparing version 0.2.0 to 0.2.1
import Container, { AnyClass } from 'mini-ioc'; | ||
interface IInjectionKey<T> extends Symbol { | ||
} | ||
export declare const injectKey: IInjectionKey<Container>; | ||
import { InjectionKey } from 'vue'; | ||
import { InjectionKey as Vue2InjectionKey } from '@vue/composition-api'; | ||
export declare const injectKey: InjectionKey<Container> | Vue2InjectionKey<Container>; | ||
export declare function provideContainer(container?: Container): { | ||
@@ -12,2 +12,1 @@ [x: string]: Container; | ||
export declare function computedResolver<T>(ctor: AnyClass<T>, newInstance?: boolean): () => T; | ||
export {}; |
{ | ||
"name": "mini-ioc-vue", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Vue.js mini-ioc binding internal package", | ||
@@ -16,4 +16,5 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@vue/composition-api": "^1.2.2", | ||
"mini-ioc": "*", | ||
"vue": "^2.6.14" | ||
"vue": "^3.2.19" | ||
}, | ||
@@ -20,0 +21,0 @@ "files": [ |
2187
3
39