Declaration maps ( https://github.com/Microsoft/TypeScript/pull/22658 ) should be output alongside d.ts files.