(type, keyType)
| 59496 | // Return the index type of the given kind in the given type. Creates synthetic union index types when necessary and |
| 59497 | // maps primitive types and type parameters are to their apparent types. |
| 59498 | function getIndexTypeOfType(type, keyType) { |
| 59499 | var _a; |
| 59500 | return (_a = getIndexInfoOfType(type, keyType)) === null || _a === void 0 ? void 0 : _a.type; |
| 59501 | } |
| 59502 | function getApplicableIndexInfos(type, keyType) { |
| 59503 | return getIndexInfosOfType(type).filter(function (info) { return isApplicableIndexType(keyType, info.keyType); }); |
| 59504 | } |
no test coverage detected
searching dependent graphs…