wow PR#8802
Closed
gauravsaraltest wants to merge 68 commits into
Closed
Conversation
`getRegularTypeOfObjectLiteral` marks an object literal as non-fresh so that excess object-property errors will not be reported. It is needed so that errors aren't reported when checking assignability to intersections or unions, for example. Previously, the function was not recursive, so nested object literals still erroneously gave the error. Now it's recursive.
Now more code is shared.
…so in the items and has the same name
…eral-freshness Recursively mark object literals as non-fresh when checking assignability to intersections
Only infer 'never' in function expressions and arrow functions
Fix subtype relation for 'never' type
Fix destructuring of optional parameters with --strictNullChecks
Tweak UMD / global semantics
Include enums in childItems in navigation bar
Recognize '-?' / '--?' in tsc
Lint unit tests via harnessSources in Jakefile.js
…perty-access Instantiate this-type in super property access
Allow duplicate identifiers across declarations.
Automatically consume @types/ folders
|
Hi @gauravsaraltest, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! TTYL, MSBOT; |
| getSignaturesOfType(type, SignatureKind.Construct).length === 0; | ||
| } | ||
|
|
||
| function createTransientSymbol(source: Symbol, type: Type) { |
Member
|
Seems this was created by mistake or for some testing purposes. Closing. |
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #