1
Fork 0
Commit graph

16 commits

Author SHA1 Message Date
Matei Adriel aed68688a1
typescript(option): fix: fixed the exporting by misstake of Some and None
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-22 17:50:25 +02:00
Matei Adriel 92a5ecbca1
typescript(option): feat: using symbols instead of plain strings
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-22 17:48:39 +02:00
Matei Adriel 6f93885507
typescript(option): chore: fixed build process
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-22 17:38:10 +02:00
Matei Adriel 906096a5cb
typescript(option): feat: Refactored everything to use nominal types
typescript(option):
typescript(option): BREAKING CHANGE: flat only works on one layer but is now strongly typed | everything uses nominal types now | match has the correct parameter order

Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-22 15:38:16 +02:00
Matei Adriel 15f54ea45f
typescript(option): feat: added a fromArray helper
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-20 14:57:46 +02:00
Matei Adriel 689c746682
typescript(option): refactor: islotated T | null in a Nullable internal type and updated the docs
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-20 14:54:40 +02:00
Matei Adriel 1f1afc0f28
typescript(option): feat: added a fromNullable helper
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-20 14:44:42 +02:00
Matei Adriel aa18688c7a
typescript(option): refactor: refactored iter to use always
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-20 14:41:13 +02:00
Matei Adriel 5c3225273c
typescript(option): fix: fixed fold returning void
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 20:23:59 +02:00
Matei Adriel 1fda9e8242
typescript(option): fix: fixed the flat helper returning a non-option value
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 15:12:01 +02:00
Matei Adriel c9cc0b0f22
typescript(option): feat: added a "flat" helper
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 14:34:48 +02:00
Matei Adriel 4ebe549c29
typescript(option): feat: added a withDefault hepler
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 14:20:47 +02:00
Matei Adriel 0458b226c7
typescript(option): refactor: created some internal helpers to clean some of the code
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 14:17:55 +02:00
Matei Adriel 1178d04079
typescript(option): feat: custom toString method for better logging
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 13:44:39 +02:00
Matei Adriel b388fb76aa
typescript(option): feat: added the base helpers
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 13:26:22 +02:00
Matei Adriel 052584b09a
typescript(option): chore: initial setup
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 12:37:48 +02:00