[import/no-unused-modules] Typescript namespace
usage results in false positive
#2336
Labels
namespace
usage results in false positive
#2336
Both the export of
MyNamepsace
andInternal
seem to be required for the usage to compile inBar.ts
. I think this kind of usage should not result in any errors. Thenamespace
inFoo.ts
can be replaced with themodule
keyword and the same false positive is raised.This seems to be in a similar area to #1964 but with a different rule.
The text was updated successfully, but these errors were encountered: