Shorthand ambient module declarations

If you don’t want to take the time to write out declarations before using a new module, you can now just use a shorthand declaration to get started quickly.

declarations.d.ts

  1. declare module "hot-new-module";

All imports from a shorthand module will have the any type.

  1. import x, {y} from "hot-new-module";
  2. x(y);