Skip to content
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

Support d.ts. type mapping so viewing reference goes back to original script #15

Open
aheber opened this issue Apr 23, 2019 · 2 comments

Comments

@aheber
Copy link
Owner

aheber commented Apr 23, 2019

Viewing the definition should take you all the way back to the original source code rather than the intermediate generated d.ts.
This feature is supported in Typescript 2.9: microsoft/TypeScript#22658

@mheiber
Copy link

mheiber commented Nov 26, 2019

Can this issue be closed?

@aheber
Copy link
Owner Author

aheber commented Nov 28, 2019

@mheiber, the purpose of this tool is to parse application source files and generate d.ts types to enable cross-file type resolution during development. The purpose of this issue it to track that I would like the generated d.ts files to contain source maps back to the original files. I haven't built that functionality into the output yet thus the issue remains.

Sorry if that has caused any confusion. Do you develop on the Salesforce platform? If so I'd be interested if you are using this tool in your workflows. Might motivate me to complete some issues more quickly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants