-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(maybe): ensure maybe type parameter excludes null and undefined
Maybe is intended to encapsulate null and undefined values. It shouldn't show Maybe<undefined | number> even though that's technically true. Despite this, Maybe.of(undefined) will still return a Maybe<undefined> but this is expected.
- Loading branch information
1 parent
2ec9d34
commit dc0fd5c
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters