FlorianRappl / dets

Generate a single declaration file for your TypeScript project. :rocket:
https://piral.io
MIT License
25 stars 5 forks source link

Consider global.d.ts #8

Closed FlorianRappl closed 4 years ago

FlorianRappl commented 4 years ago

Right now when external packages are resolved we do not treat global.d.ts as globals, which results in an invalid import.

As an example the Node.js typings have a global.d.ts and using something like Buffer results in Node.Buffer, where Node is import * as Node from 'node'.

This should treated rather just be like a TypeScript global.

FlorianRappl commented 4 years ago

Done in 0.4.2