Rich-Harris / dts-buddy

WORK IN PROGRESS DO NOT USE
MIT License
317 stars 12 forks source link

correctly mark declarations as included #49

Closed Rich-Harris closed 1 year ago

Rich-Harris commented 1 year ago

40 was an order-of-operations issue — by including an exported declaration that depended on another declaration, we prevented that second declaration from being assigned the correct alias when we later discovered that it, too, was exported.

This fixes it.

I notice that no sourcemap information is being generated for types. Not sure why, but it's orthogonal to this issue so it can get fixed separately.