diff --git a/src/.flowconfig b/src/.flowconfig index c450f59fe2..4e699a9940 100644 --- a/src/.flowconfig +++ b/src/.flowconfig @@ -32,6 +32,7 @@ module.system.haste.paths.blacklist=.*/fbjs/node_modules/.* module.system.haste.paths.blacklist=.*/node_modules/invariant/.* esproposal.class_static_fields=enable +esproposal.optional_chaining=enable suppress_type=$FlowIssue suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(2[0-8]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\).*\n suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError