Skip to content

API reference / @chanx-js/codegen / renderReexports

Function: renderReexports() ​

ts
function renderReexports(imports): string;

Defined in: reuse.ts:141

Re-export reused types, so every schema name is available from the output (channels import messages from it) and an import nothing generated references still counts as used under noUnusedLocals.

Parameters ​

ParameterType
importsMap<string, Set<string>>

Returns ​

string

MIT licensed