New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add declarationMap:true to tsconfig for correct ctrl-click go-to-source #357
Comments
I'm not sure tbh if it's worth increasing the package size for that but it's not that important for backend so let's go |
This shouldn't increase RAM use! And depending on how the end-user configures their Alight, sending a few pull requests your way this weekend! |
I'll take this up. |
Was looking at ts docs and I reckon we should turn on Related links |
thanks to @aarontravass it's now present in the monorepo |
Currently, ctrl+click on a
tinyhttp
export from VS Code goes to the.d.ts
file instead of going to the function source code. Adding"declarationMap": true
totsconfig.json
would generate.js.map
files. For example, take a look here https://github.com/wingedrhino/node-pipespawn/tree/master/distI'd love to add this to
tinyhttp
, but every other package that's been moved to its own dedicated repository would also need to be updated for this to be actually useful.If you're happy to accept merge requests, I can start submitting them one at a time!
The text was updated successfully, but these errors were encountered: