summaryrefslogtreecommitdiff
path: root/std/types/react.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/types/react.d.ts')
-rw-r--r--std/types/react.d.ts4
1 files changed, 1 insertions, 3 deletions
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<T> = boolean extends (T extends never
-? true
-: false)
+type IsExactlyAny<T> = boolean extends (T extends never ? true : false)
? true
: false;