Using custom TypeScript definitions with TS 2.x
medium.com