File tree Expand file tree Collapse file tree 6 files changed +18
-16
lines changed
overmind-devtools-client/src/overmind Expand file tree Collapse file tree 6 files changed +18
-16
lines changed Original file line number Diff line number Diff line change @@ -98,9 +98,7 @@ const state: State = {
9898 hasActionsError : derived ( ( state : State ) => {
9999 return Boolean (
100100 state . currentApp &&
101- Object . values ( state . currentApp . actions ) . some (
102- ( action ) => action . hasError
103- )
101+ Object . values ( state . currentApp . actions ) . some ( ( action ) => action . hasError )
104102 )
105103 } ) ,
106104 componentsMounted : derived ( ( state : State ) =>
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ import * as utils from './utils'
1111
1212const hotReloadingCache = { }
1313
14- export class Overmind < ThisConfig extends IConfiguration >
15- implements IConfiguration
16- {
14+ export class Overmind <
15+ ThisConfig extends IConfiguration ,
16+ > implements IConfiguration {
1717 private proxyStateTreeInstance : proxyStateTree . ProxyStateTree <
1818 object ,
1919 Devtools | undefined
Original file line number Diff line number Diff line change @@ -4,8 +4,9 @@ import * as internalTypes from './internalTypes'
44import { Overmind } from './Overmind'
55import * as utils from './utils'
66
7- export interface OvermindMock < Config extends IConfiguration >
8- extends Overmind < Config > {
7+ export interface OvermindMock <
8+ Config extends IConfiguration ,
9+ > extends Overmind < Config > {
910 onInitialize : ( ) => Promise < proxyStateTree . IMutation [ ] >
1011 mutations : proxyStateTree . IMutation [ ]
1112}
Original file line number Diff line number Diff line change @@ -4,8 +4,9 @@ import * as proxyStateTree from 'proxy-state-tree'
44import * as utils from './utils'
55import * as internalTypes from './internalTypes'
66
7- export interface OvermindSSR < Config extends IConfiguration >
8- extends Overmind < Config > {
7+ export interface OvermindSSR <
8+ Config extends IConfiguration ,
9+ > extends Overmind < Config > {
910 hydrate ( ) : proxyStateTree . IMutation [ ]
1011}
1112
Original file line number Diff line number Diff line change @@ -6,9 +6,10 @@ import {
66 ITrackStateTree ,
77} from './types'
88
9- export class TrackStateTree < T extends object , D >
10- implements ITrackStateTree < T , D >
11- {
9+ export class TrackStateTree < T extends object , D > implements ITrackStateTree <
10+ T ,
11+ D
12+ > {
1213 root : IProxyStateTree < T , D >
1314 pathDependencies : Set < string > = new Set ( )
1415 state : T
Original file line number Diff line number Diff line change @@ -29,9 +29,10 @@ export {
2929
3030export * from './types'
3131
32- export class ProxyStateTree < T extends object , D >
33- implements IProxyStateTree < T , D >
34- {
32+ export class ProxyStateTree < T extends object , D > implements IProxyStateTree <
33+ T ,
34+ D
35+ > {
3536 flushCallbacks : IFlushCallback [ ] = [ ]
3637 mutationCallbacks : IMutationCallback [ ] = [ ]
3738 currentFlushId : number = 0
You can’t perform that action at this time.
0 commit comments