@allow-large-files Upgrade typescript

Summary: This diff updates the typescript version and it fixes `yarn lint:tsc`. It also successfully pointed out fes of the problems in our codebase. I have fixed those problems

Reviewed By: mweststrate

Differential Revision: D21548003

fbshipit-source-id: e69c986ee3c763588d9e1e290dad08d1cf1976a8
This commit is contained in:
Pritesh Nandgaonkar
2020-05-13 06:55:10 -07:00
committed by Facebook GitHub Bot
parent 76a177a282
commit dcaff4babc
7 changed files with 12 additions and 5 deletions

View File

@@ -14,6 +14,7 @@ import isProduction from './utils/isProduction';
export const store = createStore<StoreState, Actions, any, any>(
reducers,
// @ts-ignore Type definition mismatch
window.__REDUX_DEVTOOLS_EXTENSION__
? window.__REDUX_DEVTOOLS_EXTENSION__({
// @ts-ignore: stateSanitizer is not part of type definition.