-
-
Notifications
You must be signed in to change notification settings - Fork 42
Closed
Description
Bug Report
When using tsgo to generate declaration source mapping files, the source mappings incorrectly point to the declaration file (.d.ts) instead of the original source file (.ts/.tsx).
Expected Behavior
The source map should point to the original source TypeScript file, allowing proper navigation from the declaration file to the source code.
Actual Behavior
The source map points to the declaration file itself, making source navigation ineffective.
Reproduction
- Generate declaration files with source maps using tsgo
- Check the sources field in the generated .d.ts.map file
- Observe that it points to the .d.ts file instead of the original .ts file
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels