1
0
Fork 0
tera-wallet/src/models/types.ts

8 lines
200 B
TypeScript

export interface DefaultModel<T> {
namespace: string,
state: T,
effects?: { [key: string]: Function },
reducers?: { [key: string]: Function },
subscriptions?: { [key: string]: Function },
}