Skip to content

Commit

Permalink
improve(document-builder): no add undefined during simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkuhrt committed Nov 19, 2024
1 parent 21674a5 commit 7fd4449
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/lib/prelude.ts
Original file line number Diff line number Diff line change
Expand Up @@ -784,11 +784,11 @@ export type SimplifyDeepExcept<$ExcludeType, $Type> =
? null
: never
)
| (
undefined extends $Type
? undefined
: never
)
// | (
// undefined extends $Type
// ? undefined
// : never
// )

// dprint-ignore
type SimplifyDeepExcept_<$ExcludeType, $Type> =
Expand Down

0 comments on commit 7fd4449

Please sign in to comment.