(type)
| 59143 | t; |
| 59144 | } |
| 59145 | function getReducedApparentType(type) { |
| 59146 | // Since getApparentType may return a non-reduced union or intersection type, we need to perform |
| 59147 | // type reduction both before and after obtaining the apparent type. For example, given a type parameter |
| 59148 | // 'T extends A | B', the type 'T & X' becomes 'A & X | B & X' after obtaining the apparent type, and |
| 59149 | // that type may need further reduction to remove empty intersections. |
| 59150 | return getReducedType(getApparentType(getReducedType(type))); |
| 59151 | } |
| 59152 | function createUnionOrIntersectionProperty(containingType, name, skipObjectFunctionPropertyAugment) { |
| 59153 | var _a, _b; |
| 59154 | var singleProp; |
no test coverage detected
searching dependent graphs…