API ReferenceFunctions
collectUnusedSymbolDiagnostics
function collectUnusedSymbolDiagnostics(ctx, mode?): Diagnostic[];Defined in: packages/core/src/unusedSymbols.ts:105
Diagnose params, fragments, and executors that are declared but never
referenced. Returns warnings (or errors) for the caller to merge into the
compile result; returns nothing when the check is disabled.
Parameters
ctx
mode?
UnusedSymbolsMode = "warn"