( types: (TSType | TSTypeAnnotation | null)[], depth: number )
| 2101 | return |
| 2102 | } |
| 2103 | const union = ( |
| 2104 | types: (TSType | TSTypeAnnotation | null)[], |
| 2105 | depth: number |
| 2106 | ) => |
| 2107 | this.unionKindOf( |
| 2108 | types, |
| 2109 | context, |
| 2110 | module, |
| 2111 | kindOfKey, |
| 2112 | depth, |
| 2113 | typeArgs, |
| 2114 | state |
| 2115 | ) |
| 2116 | switch (type.type) { |
| 2117 | case "TSTypeAnnotation": |
| 2118 | case "TSParenthesizedType": |
no test coverage detected