Comparing version 0.0.7 to 0.0.8
/* | ||
* only-state.js 0.0.7 | ||
* only-state.js 0.0.8 | ||
* author:webszy | ||
* date:2022/5/11 上午10:26:42 | ||
* date:2022/5/11 下午8:08:12 | ||
*/ | ||
@@ -268,3 +268,3 @@ import { reactive, computed, toRefs } from 'vue'; | ||
console.log('[onlyState warning] you must define a state'); | ||
return false; | ||
return installStore; | ||
} | ||
@@ -271,0 +271,0 @@ if (isObject(getters) && Object.keys(getters).length > 0) { |
{ | ||
"name": "onlystate", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "A state and only state management library for Vue3", | ||
@@ -29,7 +29,5 @@ "main": "dist/only-state.js", | ||
"@rollup/plugin-node-resolve": "^13.3.0", | ||
"@rollup/plugin-typescript": "^8.3.2", | ||
"rollup": "^2.72.1", | ||
"rollup-plugin-dts": "^4.2.1", | ||
"rollup-plugin-typescript2": "^0.31.2" | ||
} | ||
} |
@@ -24,3 +24,3 @@ // @ts-ignore | ||
console.log('[onlyState warning] you must define a state') | ||
return false | ||
return installStore | ||
} | ||
@@ -27,0 +27,0 @@ |
@@ -6,3 +6,3 @@ export declare const installStore: { | ||
[key: string]: any; | ||
}, getters?: any) => false | { | ||
}, getters?: any) => { | ||
install(app: any): void; | ||
@@ -9,0 +9,0 @@ }; |
3
33039