Comparing version 2.0.0-alpha.8 to 2.0.0-alpha.9
@@ -0,1 +1,7 @@ | ||
# [2.0.0-alpha.9](https://github.com/posva/pinia/compare/v2.0.0-alpha.8...v2.0.0-alpha.9) (2021-03-31) | ||
### Bug Fixes | ||
- **types:** pass custom properties to stores ([d26df6e](https://github.com/posva/pinia/commit/d26df6e1133fc8dff58312df36ff2af6f129a560)) | ||
# [2.0.0-alpha.8](https://github.com/posva/pinia/compare/v2.0.0-alpha.7...v2.0.0-alpha.8) (2021-03-29) | ||
@@ -2,0 +8,0 @@ |
/*! | ||
* pinia v2.0.0-alpha.8 | ||
* pinia v2.0.0-alpha.9 | ||
* (c) 2021 Eduardo San Martin Morote | ||
@@ -4,0 +4,0 @@ * @license MIT |
/*! | ||
* pinia v2.0.0-alpha.8 | ||
* pinia v2.0.0-alpha.9 | ||
* (c) 2021 Eduardo San Martin Morote | ||
@@ -4,0 +4,0 @@ * @license MIT |
@@ -27,4 +27,4 @@ import { App } from 'vue'; | ||
state?: () => S; | ||
getters?: G & ThisType<S & StoreWithGetters<G>>; | ||
actions?: A & ThisType<A & S & StoreWithState<Id, S> & StoreWithGetters<G>>; | ||
getters?: G & ThisType<S & StoreWithGetters<G> & PiniaCustomProperties>; | ||
actions?: A & ThisType<A & S & StoreWithState<Id, S> & StoreWithGetters<G> & PiniaCustomProperties>; | ||
}): (pinia?: Pinia | null | undefined) => Store<Id, S, G, A>; | ||
@@ -84,3 +84,3 @@ | ||
*/ | ||
export declare type Store<Id extends string, S extends StateTree, G, A> = StoreWithState<Id, S> & S & StoreWithGetters<G> & StoreWithActions<A>; | ||
export declare type Store<Id extends string, S extends StateTree, G, A> = StoreWithState<Id, S> & S & StoreWithGetters<G> & StoreWithActions<A> & PiniaCustomProperties; | ||
@@ -87,0 +87,0 @@ /** |
/*! | ||
* pinia v2.0.0-alpha.8 | ||
* pinia v2.0.0-alpha.9 | ||
* (c) 2021 Eduardo San Martin Morote | ||
@@ -4,0 +4,0 @@ * @license MIT |
/*! | ||
* pinia v2.0.0-alpha.8 | ||
* pinia v2.0.0-alpha.9 | ||
* (c) 2021 Eduardo San Martin Morote | ||
@@ -4,0 +4,0 @@ * @license MIT |
/*! | ||
* pinia v2.0.0-alpha.8 | ||
* pinia v2.0.0-alpha.9 | ||
* (c) 2021 Eduardo San Martin Morote | ||
@@ -4,0 +4,0 @@ * @license MIT |
/*! | ||
* pinia v2.0.0-alpha.8 | ||
* pinia v2.0.0-alpha.9 | ||
* (c) 2021 Eduardo San Martin Morote | ||
@@ -4,0 +4,0 @@ * @license MIT |
{ | ||
"name": "pinia", | ||
"version": "2.0.0-alpha.8", | ||
"version": "2.0.0-alpha.9", | ||
"description": "Intuitive, type safe and flexible Store for Vue", | ||
@@ -14,3 +14,4 @@ "main": "dist/pinia.cjs.js", | ||
"browser": "./dist/pinia.esm-browser.js", | ||
"import": "./dist/pinia.esm-bundler.js" | ||
"import": "./dist/pinia.esm-bundler.js", | ||
"module": "./dist/pinia.esm-bundler.js" | ||
}, | ||
@@ -17,0 +18,0 @@ "./package.json": "./package.json" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92011