(typeSet, includes, types)
| 61151 | // Add the given types to the given type set. Order is preserved, duplicates are removed, |
| 61152 | // and nested types of the given kind are flattened into the set. |
| 61153 | function addTypesToUnion(typeSet, includes, types) { |
| 61154 | for (var _i = 0, types_9 = types; _i < types_9.length; _i++) { |
| 61155 | var type = types_9[_i]; |
| 61156 | includes = addTypeToUnion(typeSet, includes, type); |
| 61157 | } |
| 61158 | return includes; |
| 61159 | } |
| 61160 | function removeSubtypes(types, hasObjectTypes) { |
| 61161 | // [] and [T] immediately reduce to [] and [T] respectively |
| 61162 | if (types.length < 2) { |
no test coverage detected
searching dependent graphs…