| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Looks good, although I would personally collapse the two error parameters into one since they seem to be mutually exclusive.
Sorry, something went wrong.
| * @remarks The "promised type" of a type is the type of the "value" parameter of the "onfulfilled" callback. | ||
| */ | ||
| function getPromisedTypeOfPromise(type: Type, errorNode?: Node): Type | undefined { | ||
| function getPromisedTypeOfPromise(type: Type, errorNode?: Node, thisTypeForErrorOut?: { value?: Type }): Type | undefined { |
There was a problem hiding this comment.
Probably should be a union since you don't want to issue the error twice, and the only place thisTypeForErrorOut is added did not previously pass errorNode.
Sorry, something went wrong.
There was a problem hiding this comment.
I don't want to have to test whether errorNode is a Node and I'd also rather not allocate a nursery object for { errorNode } if I don't have to.
Sorry, something went wrong.
|
Daniel Rosenwasser (@DanielRosenwasser) worth taking for 4.7? If so I can merge now. |
Sorry, something went wrong.
|
TypeScript Bot (@typescript-bot) test this |
Sorry, something went wrong.
|
Heya Ron Buckton (@rbuckton), I've started to run the parallelized community code test suite on this PR at 0b6ad03. You can monitor the build here. |
Sorry, something went wrong.
|
Heya Ron Buckton (@rbuckton), I've started to run the extended test suite on this PR at 0b6ad03. You can monitor the build here. |
Sorry, something went wrong.
|
TypeScript Bot (@typescript-bot) user test this inline |
Sorry, something went wrong.
|
Heya Daniel Rosenwasser (@DanielRosenwasser), I've started to run the diff-based community code test suite on this PR at 0b6ad03. You can monitor the build here. Update: The results are in! |
Sorry, something went wrong.
|
Heya Daniel Rosenwasser (@DanielRosenwasser), I've started to run the abridged perf test suite on this PR at 0b6ad03. You can monitor the build here. Update: The results are in! |
Sorry, something went wrong.
|
Daniel Rosenwasser (@DanielRosenwasser) Comparison Report - main..48946
System
Hosts
Scenarios
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sorry, something went wrong.
|
Daniel Rosenwasser (@DanielRosenwasser) |
Sorry, something went wrong.
|
The user suite test run you requested has finished and failed. I've opened a PR with the baseline diff from master. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #47711