Improvment in tslint standard (#16)

This commit is contained in:
Qolzam
2017-10-10 16:39:02 +07:00
parent 181d2b8abd
commit 1937742f04
160 changed files with 984 additions and 1019 deletions

View File

@@ -3,7 +3,7 @@ import * as redux from 'redux'
import thunk from 'redux-thunk'
import {routerReducer, routerMiddleware } from 'react-router-redux'
import createHistory from 'history/createBrowserHistory'
import {createLogger} from 'redux-logger';
import {createLogger} from 'redux-logger'
// - Import reducers
import {
@@ -16,9 +16,9 @@ import {
userReducer,
circleReducer,
notificationReducer
} from 'reducers';
} from 'reducers'
declare const window: any;
declare const window: any
// Create a history of your choosing (we're using a browser history in this case)
export const history = createHistory()
@@ -42,13 +42,13 @@ let reducer = redux.combineReducers({
})
// - initial state
var initialState = {
let initialState = {
}
// - Config and create store of redux
var store : redux.Store<{}> = redux.createStore(reducer, initialState, redux.compose(
let store : redux.Store<{}> = redux.createStore(reducer, initialState, redux.compose(
redux.applyMiddleware(logger,thunk,middleware),
(window as any).devToolsExtension ? (window as any).devToolsExtension() : (f:any) => f
))