We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a6d4ee commit 1b76301Copy full SHA for 1b76301
internal/checker/checker.go
@@ -12199,7 +12199,7 @@ func (c *Checker) hasEmptyObjectIntersection(t *Type) bool {
12199
}
12200
12201
func (c *Checker) isExactOptionalPropertyMismatch(source *Type, target *Type) bool {
12202
- return source != nil && target != nil && c.maybeTypeOfKind(source, TypeFlagsUndefined) && !!c.containsMissingType(target)
+ return source != nil && target != nil && c.maybeTypeOfKind(source, TypeFlagsUndefined) && c.containsMissingType(target)
12203
12204
12205
func (c *Checker) checkReferenceExpression(expr *ast.Node, invalidReferenceMessage *diagnostics.Message, invalidOptionalChainMessage *diagnostics.Message) bool {
0 commit comments