Matt McCutchen 6835a48917 Fixes to the advice for untyped module imports from unknown packages:
- For a sub-module, the `declare module` statement needs to refer to the
  sub-module.

- For an import of "./node_modules/foo", don't show advice to install
  "@types/foo" or `declare module "foo"` because it won't help.

Fixes #26581.
2018-08-21 14:20:35 -04:00
..