mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-10 06:41:59 -06:00
Ensure void return in forEachType
This commit is contained in:
parent
6023433fe3
commit
aa6b438eba
@ -10472,7 +10472,9 @@ namespace ts {
|
||||
if (isObjectLiteralType(type)) {
|
||||
const prop = getPropertyOfObjectType(type, context.propertyName);
|
||||
if (prop) {
|
||||
forEachType(getTypeOfSymbol(prop), t => siblings.push(t));
|
||||
forEachType(getTypeOfSymbol(prop), t => {
|
||||
siblings.push(t);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user