Oh, that's great! Is that a recent change? I remember circumvrenting my issues with 'declare module' but it was more involved than just one line.
Re:Announcing TypeScript 2.2
by WorldMaker on Thursday February 23, 2017 @12:16PM
(#13715613)
Yes, simpler module declaration is relatively recent to Typescript having arrived in Typescript 2.0 (released in September).
You can keep noImplicitAny and any-type just specific packages that can't/won't be typed. The declaration is now as simple as:
Typescript will any type modules that you declare that way. You can also use star (*) and star-star wildcards in the module name.