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

Function createOriginIndexType

test/fixtures/snapshot/typescript.js:61739–61743  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

61737 return result;
61738 }
61739 function createOriginIndexType(type) {
61740 var result = createOriginType(4194304 /* TypeFlags.Index */);
61741 result.type = type;
61742 return result;
61743 }
61744 function getIndexTypeForGenericType(type, stringsOnly) {
61745 return stringsOnly ?
61746 type.resolvedStringIndexType || (type.resolvedStringIndexType = createIndexType(type, /*stringsOnly*/ true)) :

Callers 1

Calls 1

createOriginTypeFunction · 0.85

Tested by

no test coverage detected