Highlights
- Arctic Code Vault Contributor
Pinned
42 contributions in the last year
Less
More
Contribution activity
March 1, 2021
Nathan-Fenner has no activity
yet for this period.
January 2021
Created a pull request in microsoft/TypeScript that received 3 comments
Skip "uncallable" callback arguments when building union signatures (fix for #42558)
Adds a fix for the following case, where the orDefault
function can't be used with empty arrays without adding type annotations:
function orDefault<T,
+515
−1
•
3
comments
Reviewed 1 pull request in 1 repository
microsoft/TypeScript 1 pull request
Created an issue in microsoft/TypeScript that received 5 comments
Union signatures should exclude "uncallable" callbacks, so methods like `.map` work on union containing empty array
Suggestion
When merging union signatures, skip "uncallable" callbacks: those that request a never
callback argument. These functions can't be calle…
•
5
comments