Move App into shell dir. Decouple ContextProviders. Improved type coverage for reducers

This commit is contained in:
SleepWalker
2019-12-09 09:07:07 +02:00
parent 5c70021456
commit 128f327ec4
10 changed files with 107 additions and 73 deletions

View File

@@ -1,6 +1,8 @@
import { BSOD } from './actions';
export default function(state = false, { type }) {
export type State = boolean;
export default function(state: State = false, { type }): State {
if (type === BSOD) {
return true;
}