pzavolinsky / ts-unused-exports

ts-unused-exports finds unused exported symbols in your Typescript project
MIT License
749 stars 49 forks source link

Add comment flag to ignore some exports #25

Closed boschni closed 5 years ago

boschni commented 6 years ago

This PR adds a comment flag to ignore certain exports just like the TSLint comment flags.

// ts-unused-exports:disable-next-line
export function add2(x:number) { return x + 2; }
wh1t3cAt1k commented 5 years ago

@pzavolinsky Any updates on this pull request? This functionality is sorely needed by my team. It would be good to maintain this in your repo without a fork.

mrseanryan commented 5 years ago

Merging - thank you for contributing!