Skip to content

Commit

Permalink
Fix NonFalsy: void should be falsy
Browse files Browse the repository at this point in the history
  • Loading branch information
none23 committed Oct 12, 2023
1 parent b2df073 commit c416823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entrypoints/utils.d.ts
@@ -1,5 +1,5 @@
declare namespace TSReset {
type NonFalsy<T> = T extends false | 0 | "" | null | undefined | 0n
type NonFalsy<T> = T extends false | 0 | "" | null | undefined | void | 0n
? never
: T;

Expand Down

0 comments on commit c416823

Please sign in to comment.