Skip to content

Commit 332b98e

Browse files
committed
Fix typos
1 parent 6631059 commit 332b98e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: internal/checker/checker.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -28505,7 +28505,7 @@ func (c *Checker) removeNullableByIntersection(t *Type, targetFacts TypeFacts, o
2850528505
// By default we intersect with a union of {} and the opposite nullable.
2850628506
emptyAndOtherUnion := c.getUnionType([]*Type{c.emptyObjectType, otherType})
2850728507
// For each constituent type that can compare equal to the target nullable, intersect with the above union
28508-
// if the type doesn't already include the oppsite nullable and the constituent can compare equal to the
28508+
// if the type doesn't already include the opposite nullable and the constituent can compare equal to the
2850928509
// opposite nullable; otherwise, just intersect with {}.
2851028510
return c.mapType(t, func(t *Type) *Type {
2851128511
if c.hasTypeFacts(t, targetFacts) {

0 commit comments

Comments
 (0)