-
-
Notifications
You must be signed in to change notification settings - Fork 856
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ts): base type of curried producer
Previously, a curried producer could not be passed a readonly version of its expected base type. For example, a curried producer that expects its draft argument to be "any[]" could not be passed a "ReadonlyArray<any>" value. Related test: f94fcaa
- Loading branch information
1 parent
f94fcaa
commit b357e54
Showing
2 changed files
with
33 additions
and
17 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
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