jridgewell / trace-mapping

Trace the original position through a source map
MIT License
102 stars 8 forks source link

The SourceNeedle is referenced in generated position methods, but is not exported #31

Closed connor4312 closed 9 months ago

connor4312 commented 10 months ago

all/generatedPositionFor references the SourceNeedle, but this is not exported from the package root, which makes consumption a bit ugly, requiring importing from the types file directly if one wants to pass it through places.

jridgewell commented 10 months ago

I think at this point we can use export type * from './types' so that I stop missing some of the types.

connor4312 commented 10 months ago

That would make sense 👍

Btw, I finally moved the vscode JS debugger over from the old source-map library to this one. I'm quite happy to have gotten that ripped out!