From 853e7a5b9d9681c0ed94f2b4f341c32425126fe7 Mon Sep 17 00:00:00 2001 From: Evan Yeung Date: Thu, 29 Jul 2021 16:34:42 -0700 Subject: [PATCH] Make existential type an error in xplat Summary: This diff updates the xplat flowconfigs to make existential types an error. Changelog: [Internal] Reviewed By: pieterv Differential Revision: D29967838 fbshipit-source-id: f08bbafe2a0269adb2c9afa4572b7a34fd254a4d --- .flowconfig | 2 +- .flowconfig.android | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.flowconfig b/.flowconfig index 7ebc77aafaa..0c1c36518ef 100644 --- a/.flowconfig +++ b/.flowconfig @@ -56,7 +56,7 @@ sketchy-null-mixed=warn sketchy-number=warn untyped-type-import=warn nonstrict-import=warn -deprecated-type=warn +deprecated-type=error unsafe-getters-setters=warn unnecessary-invariant=warn signature-verification-failure=warn diff --git a/.flowconfig.android b/.flowconfig.android index 20b1545b098..7667dcc5b2c 100644 --- a/.flowconfig.android +++ b/.flowconfig.android @@ -56,7 +56,7 @@ sketchy-null-mixed=warn sketchy-number=warn untyped-type-import=warn nonstrict-import=warn -deprecated-type=warn +deprecated-type=error unsafe-getters-setters=warn unnecessary-invariant=warn signature-verification-failure=warn