Reference

demoteTopLevelExportDeclarations

Converts selected top-level export declarations into non-exported declarations.

Signature

function demoteTopLevelExportDeclarations(input: { code: string; filename?: string; names: readonly string[] }): string