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
I know that import type support was apparently added here, but it doesn't seem to be working.
If I have "eslint": "7", in dependencies in package.json, and I have import type eslint from 'eslint'; at the top of a .ts file, then depcheck still marks eslint as unused.
The text was updated successfully, but these errors were encountered:
I suspect part of the problem is that detectTypescriptImportType never got added to defaultOptions, but even when passed explicitly, it doesn't seem to work as expected.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I know that
import type
support was apparently added here, but it doesn't seem to be working.If I have
"eslint": "7",
independencies
inpackage.json
, and I haveimport type eslint from 'eslint';
at the top of a.ts
file, thendepcheck
still markseslint
as unused.The text was updated successfully, but these errors were encountered: