You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only importing TypeScript interfaces (so no runtime code) provides false positives.
Versions
depcheck --version: 0.8.1
Extra info
It seems like the analysis is done on the compiled code and therefore won't know about the imported interfaces (as they are removed during compilation)?
The text was updated successfully, but these errors were encountered:
Hey, thanks for reporting this, yes this is a known issue, the fix is to use the typescript parser and not babel for typescript files, will get to it as soon as I have some time.
I'll close this one since we already have a ticket for this #163
Bug Description
Only importing TypeScript interfaces (so no runtime code) provides false positives.
Versions
depcheck --version
: 0.8.1Extra info
It seems like the analysis is done on the compiled code and therefore won't know about the imported interfaces (as they are removed during compilation)?
The text was updated successfully, but these errors were encountered: