mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-07-05 09:53:49 -05:00
Fixes #17080
Changes are in src/compiler.checker.ts only The second arguments to the function "removeOptionalityFromDeclaredType" has been changed from "getRootDeclaration(declaration)" to "declaration".
This commit is contained in:
@@ -2,15 +2,16 @@
|
||||
Thank you for submitting a pull request!
|
||||
|
||||
Here's a checklist you might find useful.
|
||||
[ ] There is an associated issue that is labelled
|
||||
[X] There is an associated issue that is labelled
|
||||
'Bug' or 'help wanted' or is in the Community milestone
|
||||
[ ] Code is up-to-date with the `master` branch
|
||||
[ ] You've successfully run `jake runtests` locally
|
||||
[X] Code is up-to-date with the `master` branch
|
||||
[X] You've successfully run `jake runtests` locally
|
||||
[ ] You've signed the CLA
|
||||
[ ] There are new or updated unit tests validating the change
|
||||
[X] There are new or updated unit tests validating the change
|
||||
|
||||
Refer to CONTRIBUTING.MD for more details.
|
||||
https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md
|
||||
-->
|
||||
|
||||
Fixes #
|
||||
#17080
|
||||
|
||||
Reference in New Issue
Block a user