From 4120cf3c3d48aa7daa7e1cb6ef32e22c6253f621 Mon Sep 17 00:00:00 2001 From: * <8> Date: Sat, 30 Jul 2022 15:24:07 +0800 Subject: [PATCH] Match-id-dc5396d053912b31447af44751ffc75c4cd6e2e5 --- libs/horizon/src/horizonx/store/StoreHandler.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libs/horizon/src/horizonx/store/StoreHandler.ts b/libs/horizon/src/horizonx/store/StoreHandler.ts index ecbe22d9..e85391d8 100644 --- a/libs/horizon/src/horizonx/store/StoreHandler.ts +++ b/libs/horizon/src/horizonx/store/StoreHandler.ts @@ -15,7 +15,6 @@ function isPromise(obj: any): boolean { type StoreConfig, C extends UserComputedValues> = { state?: S; - // options?: { suppressHooks?: boolean }; actions?: A; id?: string; computed?: C; @@ -27,18 +26,15 @@ export type ReduxStoreHandler = { getState: () => any; subscribe: (listener: () => void) => () => void; replaceReducer: (reducer: (state: any, action: { type: string }) => any) => void; - // _horizonXstore: StoreHandler; }; type StoreHandler, C extends UserComputedValues> = { $subscribe: (listener: () => void) => void; $unsubscribe: (listener: () => void) => void; $s: S; - // $config: StoreConfig; $queue: QueuedStoreActions; $a: StoreActions; $c: UserComputedValues; - // reduxHandler?: ReduxStoreHandler; } & { [K in keyof S]: S[K] } & { [K in keyof A]: Action } & { [K in keyof C]: ReturnType };