mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-06 20:14:01 -06:00
Fix typo
This commit is contained in:
parent
c22a54fb95
commit
b336c693ee
@ -7858,7 +7858,7 @@ namespace ts {
|
||||
// and primitive types are removed by other type guards.
|
||||
const filteredType = getTypeWithFacts(type, TypeFacts.Discriminatable);
|
||||
if (filteredType !== type && filteredType.flags & TypeFlags.Union) {
|
||||
prop = getPropertyOfType(type, name);
|
||||
prop = getPropertyOfType(filteredType, name);
|
||||
}
|
||||
}
|
||||
if (prop && prop.flags & SymbolFlags.SyntheticProperty) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user