MCPcopy Index your code
hub / github.com/nodejs/node / getIndexInfoOfType

Function getIndexInfoOfType

test/fixtures/snapshot/typescript.js:59493–59495  ·  view source on GitHub ↗
(type, keyType)

Source from the content-addressed store, hash-verified

59491 // Return the indexing info of the given kind in the given type. Creates synthetic union index types when necessary and
59492 // maps primitive types and type parameters are to their apparent types.
59493 function getIndexInfoOfType(type, keyType) {
59494 return findIndexInfo(getIndexInfosOfType(type), keyType);
59495 }
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) {

Callers 14

createTypeCheckerFunction · 0.85
serializeIndexSignaturesFunction · 0.85
_loop_11Function · 0.85
getIndexTypeOfTypeFunction · 0.85
createReverseMappedTypeFunction · 0.85
checkObjectLiteralFunction · 0.85
isKnownPropertyFunction · 0.85
hasNumericPropertyNamesFunction · 0.85

Calls 2

findIndexInfoFunction · 0.85
getIndexInfosOfTypeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…