Return properties of an object type or an empty array for other types
(type)
| 58725 | } |
| 58726 | /** Return properties of an object type or an empty array for other types */ |
| 58727 | function getPropertiesOfObjectType(type) { |
| 58728 | if (type.flags & 524288 /* TypeFlags.Object */) { |
| 58729 | return resolveStructuredTypeMembers(type).properties; |
| 58730 | } |
| 58731 | return ts.emptyArray; |
| 58732 | } |
| 58733 | /** If the given type is an object type and that type has a property by the given name, |
| 58734 | * return the symbol for that property. Otherwise return undefined. |
| 58735 | */ |
no test coverage detected
searching dependent graphs…