--ignoreLocallyUsed means that exports which are used in the same file they are defined in won't be reported as unused.
This is implemented by counting a local use of a given variable as an import. Note that this results in needing to traverse significantly more of the AST, so there may be a performance impact for larger codebases.
This implements the suggestion from https://github.com/pzavolinsky/ts-unused-exports/issues/30
--ignoreLocallyUsed means that exports which are used in the same file they are defined in won't be reported as unused.
This is implemented by counting a local use of a given variable as an import. Note that this results in needing to traverse significantly more of the AST, so there may be a performance impact for larger codebases.