From bced52505f32d6cca4f944bb610a8a26767908a8 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Sun, 29 Mar 2020 04:03:49 +1100 Subject: Update to Prettier 2 and use ES Private Fields (#4498) --- std/types/react.d.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'std/types/react.d.ts') diff --git a/std/types/react.d.ts b/std/types/react.d.ts index b512a43a2..725503b13 100644 --- a/std/types/react.d.ts +++ b/std/types/react.d.ts @@ -3231,9 +3231,7 @@ declare namespace React { // naked 'any' type in a conditional type will short circuit and union both the then/else branches // so boolean is only resolved for T = any -type IsExactlyAny = boolean extends (T extends never -? true -: false) +type IsExactlyAny = boolean extends (T extends never ? true : false) ? true : false; -- cgit v1.2.3