Commit 9953157
committed
feat(nonenull): improve type signature for noneNull
It is now possible to pass a tuple type to noneNull and get back the appropriate tuple type.
BREAKING CHANGE: The type parameter to noneNull has changed to the type of the array itself, not the
type of its elements. The behaviour of the function is unchanged. Callers that specify an explicit
type parameter will need to be updated.1 parent 1821049 commit 9953157
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
602 | 602 | | |
603 | 603 | | |
604 | 604 | | |
605 | | - | |
606 | | - | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
607 | 609 | | |
608 | 610 | | |
609 | 611 | | |
| |||
0 commit comments