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

Function transformJSDocVariadicType

test/fixtures/snapshot/typescript.js:151033–151035  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

151031 return ts.factory.createUnionTypeNode([ts.visitNode(node.type, transformJSDocType), ts.factory.createTypeReferenceNode("null", ts.emptyArray)]);
151032 }
151033 function transformJSDocVariadicType(node) {
151034 return ts.factory.createArrayTypeNode(ts.visitNode(node.type, transformJSDocType));
151035 }
151036 function transformJSDocFunctionType(node) {
151037 var _a;
151038 // TODO: This does not properly handle `function(new:C, string)` per https://github.com/google/closure-compiler/wiki/Types-in-the-Closure-Type-System#the-javascript-type-language

Callers 1

transformJSDocTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected