Document reason for ts-ignore in init.tsx

Summary: Per title

Reviewed By: jknoxville

Differential Revision: D17343033

fbshipit-source-id: ce61866cd82ed68ee03d3e3261d7fba15f73eec0
This commit is contained in:
Pascal Hartig
2019-09-12 08:08:01 -07:00
committed by Facebook Github Bot
parent 239bb27ed1
commit 2da06587ba

View File

@@ -32,7 +32,7 @@ const store = createStore<StoreState, Actions, any, any>(
reducers,
window.__REDUX_DEVTOOLS_EXTENSION__
? window.__REDUX_DEVTOOLS_EXTENSION__({
// @ts-ignore
// @ts-ignore: stateSanitizer is not part of type definition.
stateSanitizer,
})
: undefined,