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

Function createJSDocPrePostfixUnaryTypeWorker

test/fixtures/snapshot/typescript.js:25594–25599  ·  view source on GitHub ↗
(kind, type, postfix)

Source from the content-addressed store, hash-verified

25592 // createJSDocNullableType
25593 // createJSDocNonNullableType
25594 function createJSDocPrePostfixUnaryTypeWorker(kind, type, postfix) {
25595 if (postfix === void 0) { postfix = false; }
25596 var node = createJSDocUnaryTypeWorker(kind, postfix ? type && parenthesizerRules().parenthesizeNonArrayTypeOfPostfixType(type) : type);
25597 node.postfix = postfix;
25598 return node;
25599 }
25600 // @api
25601 // createJSDocOptionalType
25602 // createJSDocVariadicType

Callers 2

createNodeFactoryFunction · 0.85

Calls 1

Tested by

no test coverage detected