File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,8 @@ export default class RendererStore {
56
56
private createAppStore = ( reducer : any , middleware : any ) => {
57
57
this . __store = createStore ( reducer , middleware ) ;
58
58
this . storeObserver . setStore ( this . __store ) ;
59
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
60
+ // @ts -ignore
59
61
const ds = ( window . dash_stores = window . dash_stores || [ ] ) ;
60
62
ds . push ( this . __store ) ;
61
63
this . setObservers ( ) ;
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ import {updateProps, notifyObservers} from '../actions/index';
2
2
import { getPath } from '../actions/paths' ;
3
3
4
4
const setProps = ( updates : { } ) => {
5
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
6
+ // @ts -ignore
5
7
const ds = ( window . dash_stores = window . dash_stores || [ ] ) ;
6
8
for ( let y = 0 ; y < ds . length ; y ++ ) {
7
9
const { dispatch, getState} = ds [ y ] ;
@@ -19,5 +21,7 @@ const setProps = (updates: {}) => {
19
21
}
20
22
} ;
21
23
24
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
25
+ // @ts -ignore
22
26
const dc = ( window . dash_clientside = window . dash_clientside || { } ) ;
23
27
dc [ 'setProps' ] = setProps ;
You can’t perform that action at this time.
0 commit comments