Reference

stripUnusedStaticValueImports

Removes unused static value imports while preserving side-effect and type-only imports.

Signature

function stripUnusedStaticValueImports(input: { code: string; filename?: string }): string