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

Function createIndexInfo

test/fixtures/snapshot/typescript.js:60029–60031  ·  view source on GitHub ↗
(keyType, type, isReadonly, declaration)

Source from the content-addressed store, hash-verified

60027 return symbolTable.get("__index" /* InternalSymbolName.Index */);
60028 }
60029 function createIndexInfo(keyType, type, isReadonly, declaration) {
60030 return { keyType: keyType, type: type, isReadonly: isReadonly, declaration: declaration };
60031 }
60032 function getIndexInfosOfSymbol(symbol) {
60033 var indexSymbol = getIndexSymbol(symbol);
60034 return indexSymbol ? getIndexInfosOfIndexSymbol(indexSymbol) : ts.emptyArray;

Callers 15

createTypeCheckerFunction · 0.85
resolveObjectTypeMembersFunction · 0.85
_loop_11Function · 0.85
appendIndexInfoFunction · 0.85
findApplicableIndexInfoFunction · 0.85
_loop_14Function · 0.85
getIndexInfoWithReadonlyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…