From c416823a64e06c24ecab56b0a5538c6e72a27848 Mon Sep 17 00:00:00 2001 From: Nikita Anisimov Date: Thu, 12 Oct 2023 16:52:31 +0400 Subject: [PATCH] Fix NonFalsy: void should be falsy --- src/entrypoints/utils.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entrypoints/utils.d.ts b/src/entrypoints/utils.d.ts index 00171cb..62a3888 100644 --- a/src/entrypoints/utils.d.ts +++ b/src/entrypoints/utils.d.ts @@ -1,5 +1,5 @@ declare namespace TSReset { - type NonFalsy = T extends false | 0 | "" | null | undefined | 0n + type NonFalsy = T extends false | 0 | "" | null | undefined | void | 0n ? never : T;