(keyType)
| 58557 | } |
| 58558 | setStructuredTypeMembers(type, members, ts.emptyArray, ts.emptyArray, indexInfos || ts.emptyArray); |
| 58559 | function addMemberForKeyType(keyType) { |
| 58560 | var propNameType = nameType ? instantiateType(nameType, appendTypeMapping(type.mapper, typeParameter, keyType)) : keyType; |
| 58561 | forEachType(propNameType, function (t) { return addMemberForKeyTypeWorker(keyType, t); }); |
| 58562 | } |
| 58563 | function addMemberForKeyTypeWorker(keyType, propNameType) { |
| 58564 | // If the current iteration type constituent is a string literal type, create a property. |
| 58565 | // Otherwise, for type string create a string index signature. |
nothing calls this directly
no test coverage detected
searching dependent graphs…