Skip to content

Commit b537b94

Browse files
committed
Cleanup TS nits in shadow/arborist
1 parent f13cc11 commit b537b94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/shadow/arborist.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,9 +1024,9 @@ class SafeOverrideSet extends OverrideSet {
10241024
if (!otherChildren.has(key)) {
10251025
return false
10261026
}
1027-
const child = <OverrideSetClass>children.get(key)
1028-
const otherChild = <OverrideSetClass>otherChildren.get(key)
1029-
if (child!.value !== otherChild!.value) {
1027+
const child = children.get(key)!
1028+
const otherChild = otherChildren.get(key)!
1029+
if (child.value !== otherChild.value) {
10301030
return false
10311031
}
10321032
queue[queueLength++] = [child, otherChild]

0 commit comments

Comments
 (0)