Skip to content

Commit 172993f

Browse files
committed
fix(flow): use to suppress flow errors
1 parent 64a3273 commit 172993f

File tree

3 files changed

+4987
-2
lines changed

3 files changed

+4987
-2
lines changed

.flowconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ module.name_mapper='.*\.scss$' -> 'empty/object'
1616
module.name_mapper='.*\.css$' -> 'empty/object'
1717
esproposal.class_static_fields=enable
1818
esproposal.class_instance_fields=enable
19-
suppress_comment= \\(.\\|\n\\)*\\flow-issue

src/loadFeatureMiddleware.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default function loadFeatureMiddleware<S, A: {type: $Subtype<string>}>(
1111
getFeatureStates?: (state: S) => ?FeatureStates,
1212
createMiddleware?: (middlewares: {[actionType: string]: Middleware<S, A>}) => Middleware<S, A>,
1313
} = {}
14-
// flow-issue
14+
// $FlowFixMe
1515
): Middleware<S, A | FeatureAction> {
1616
const getFeatures = config.getFeatures || ((state: any) => state && state.features)
1717
const getFeatureStates = config.getFeatureStates || ((state: any) => state && state.featureStates)

0 commit comments

Comments
 (0)