Closed OliverJAsh closed 7 years ago
If tsconfig.json contains comments then ts-unused-exports fails, e.g.:
tsconfig.json
SyntaxError: Unexpected token / in JSON at position 245
We should strip comments from the config file before parsing it.
Hi @OliverJAsh , pushed version 2.0.2 that supports comments in tsconfig.json.
2.0.2
Cheers!
If
tsconfig.json
contains comments then ts-unused-exports fails, e.g.:We should strip comments from the config file before parsing it.