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

Function getBigIntLiteralType

test/fixtures/snapshot/typescript.js:63050–63055  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

63048 (numberLiteralTypes.set(value, type = createLiteralType(256 /* TypeFlags.NumberLiteral */, value)), type);
63049 }
63050 function getBigIntLiteralType(value) {
63051 var type;
63052 var key = ts.pseudoBigIntToString(value);
63053 return bigIntLiteralTypes.get(key) ||
63054 (bigIntLiteralTypes.set(key, type = createLiteralType(2048 /* TypeFlags.BigIntLiteral */, value)), type);
63055 }
63056 function getEnumLiteralType(value, enumId, symbol) {
63057 var type;
63058 var qualifier = typeof value === "string" ? "@" : "#";

Callers 3

createTypeCheckerFunction · 0.85
checkExpressionWorkerFunction · 0.85

Calls 3

createLiteralTypeFunction · 0.85
getMethod · 0.65
setMethod · 0.45

Tested by

no test coverage detected