MCPcopy Create free account
hub / github.com/nodejs/node / createElidedInformationPlaceholder

Function createElidedInformationPlaceholder

test/fixtures/snapshot/typescript.js:53069–53075  ·  view source on GitHub ↗
(context)

Source from the content-addressed store, hash-verified

53067 }
53068 }
53069 function createElidedInformationPlaceholder(context) {
53070 context.approximateLength += 3;
53071 if (!(context.flags & 1 /* NodeBuilderFlags.NoTruncation */)) {
53072 return ts.factory.createTypeReferenceNode(ts.factory.createIdentifier("..."), /*typeArguments*/ undefined);
53073 }
53074 return ts.factory.createKeywordTypeNode(130 /* SyntaxKind.AnyKeyword */);
53075 }
53076 function shouldUsePlaceholderForProperty(propertySymbol, context) {
53077 var _a;
53078 // Use placeholders for reverse mapped types we've either already descended into, or which

Callers 5

createAnonymousTypeNodeFunction · 0.85
visitAndTransformTypeFunction · 0.85
addPropertyToElementListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected