Open bluelovers opened 6 years ago
If you declare the hash-sum
module (e.g., declare module 'hash-sum';
in a separate file), then you get an error, Import declaration conflicts with local declaration of 'hashSum'.
There are no guarantees on whether the import is emitted in the presence of that error. I think the bug is that you don't get the error about the conflict when the module can't be found.
Aye, we should still be issuing the error that it overwrites the import even if the import is amy
from being not found, ideally. This is probably a follow on error that's worth keeping.
TypeScript Version: 3.2.0-dev.201xxxxx
Search Terms:
Code
Expected behavior:
Actual behavior:
Playground Link:
Related Issues: