File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ export const store = new Vuex.Store({
9292
9393// Creating proxies.
9494const vxm = {
95- user: createProxy ( UserStore ),
95+ user: createProxy ( store , UserStore ),
9696}
9797```
9898
@@ -260,4 +260,4 @@ export class UserStore extends createModule({ target: "nuxt" }) {
260260` ` `
261261
262262## See Old API
263- [Old API >](old-api-readme.md)
263+ [Old API >](old-api-readme.md)
Original file line number Diff line number Diff line change @@ -70,8 +70,8 @@ export interface ProxyWatchers {
7070 deep : boolean ;
7171 immediate : boolean ;
7272 } ) : ( ) => void ;
73- $subscribe ( mutationfield : string , callback : ( payload : any ) => void ) : void ;
74- $subscribeAction ( actionField : string , callbackOrObj : SubScribeActionCallback | SubScribeActionObject ) : void ;
73+ $subscribe ( mutationfield : string , callback : ( payload : any ) => void ) : ( ) => void ;
74+ $subscribeAction ( actionField : string , callbackOrObj : SubScribeActionCallback | SubScribeActionObject ) : ( ) => void ;
7575}
7676declare type SubScribeActionCallback = ( payload : any ) => void ;
7777declare type SubScribeActionObject = {
Original file line number Diff line number Diff line change @@ -70,8 +70,8 @@ export interface ProxyWatchers {
7070 deep : boolean ;
7171 immediate : boolean ;
7272 } ) : ( ) => void ;
73- $subscribe ( mutationfield : string , callback : ( payload : any ) => void ) : void ;
74- $subscribeAction ( actionField : string , callbackOrObj : SubScribeActionCallback | SubScribeActionObject ) : void ;
73+ $subscribe ( mutationfield : string , callback : ( payload : any ) => void ) : ( ) => void ;
74+ $subscribeAction ( actionField : string , callbackOrObj : SubScribeActionCallback | SubScribeActionObject ) : ( ) => void ;
7575}
7676declare type SubScribeActionCallback = ( payload : any ) => void ;
7777declare type SubScribeActionObject = {
Original file line number Diff line number Diff line change 11{
22 "name" : " vuex-class-component" ,
3- "version" : " 2.2.1 " ,
3+ "version" : " 2.3.2 " ,
44 "description" : " \" A Type Safe Vuex Module or Store Using ES6 Classes and ES7 Decorators written in TypeScript.\" " ,
55 "main" : " dist/index.js" ,
66 "directories" : {
Original file line number Diff line number Diff line change @@ -96,9 +96,9 @@ export interface ProxyWatchers {
9696 $subscribe (
9797 mutationfield :string ,
9898 callback :( payload :any ) => void ,
99- ) :void
99+ ) :( ) => void
100100
101- $subscribeAction ( actionField :string , callbackOrObj :SubScribeActionCallback | SubScribeActionObject ) :void
101+ $subscribeAction ( actionField :string , callbackOrObj :SubScribeActionCallback | SubScribeActionObject ) :( ) => void
102102
103103}
104104
@@ -107,4 +107,4 @@ type SubScribeActionCallback = ( payload :any ) => void;
107107type SubScribeActionObject = {
108108 before : ( payload :any ) => void ;
109109 after : ( payload :any ) => void ;
110- }
110+ }
You can’t perform that action at this time.
0 commit comments