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

Function reExportDefault

test/fixtures/snapshot/typescript.js:152351–152353  ·  view source on GitHub ↗
(moduleSpecifier)

Source from the content-addressed store, hash-verified

152349 return makeExportDeclaration(/*exportClause*/ undefined, moduleSpecifier);
152350 }
152351 function reExportDefault(moduleSpecifier) {
152352 return makeExportDeclaration([ts.factory.createExportSpecifier(/*isTypeOnly*/ false, /*propertyName*/ undefined, "default")], moduleSpecifier);
152353 }
152354 function convertExportsPropertyAssignment(_a, sourceFile, changes) {
152355 var left = _a.left, right = _a.right, parent = _a.parent;
152356 var name = left.name.text;

Callers 1

convertReExportAllFunction · 0.85

Calls 1

makeExportDeclarationFunction · 0.85

Tested by

no test coverage detected