update(types): Rename FlowStore to Store and ReactiveFlowStore to FlowStore

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-12-04 15:42:18 +01:00
parent 70b44dbc03
commit 3c9840cc50
9 changed files with 22 additions and 23 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { EmitFunc, FlowHooks, FlowEvents, FlowStore, ReactiveFlowStore } from '~/types'
import { EmitFunc, FlowHooks, FlowEvents, FlowStore } from '~/types'
// flow event hooks
export const createHooks = (): FlowHooks => ({
@@ -49,4 +49,4 @@ const bind = (emit: EmitFunc, hooks: FlowHooks) => {
}
}
export default (store: ReactiveFlowStore, emit: EmitFunc) => bind(emit, store.hooks)
export default (store: FlowStore, emit: EmitFunc) => bind(emit, store.hooks)