The export like c is unused. However, a and b are used by another files
Right now, ts-unused-exports only can tell us c. This kind of file cannot be easily removed. But we want to know all the unused filenames exactly, and remove them by scripts efficiently.
export function c(x: number) {
a(b);
return x + 2;
}
// used by another files
export const a = (b: number) => {
console.log(1);
};
// used by another files
export const b = 11;
For example:
The export like
c
is unused. However,a
andb
are used by another filesRight now,
ts-unused-exports
only can tell usc
. This kind of file cannot be easily removed. But we want to know all the unused filenames exactly, and remove them by scripts efficiently.Any thoughts about this?