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

VS 201x and VS Code are not able to find real source with declarationMaps #25792

Closed
HolgerJeromin opened this issue Jul 19, 2018 · 1 comment
Closed
Assignees
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue

Comments

@HolgerJeromin
Copy link
Contributor

HolgerJeromin commented Jul 19, 2018

TypeScript Version: Version 3.0.0-dev and 2.9

Search Terms:
goto definition F12

Code structure
BaseControl/source.ts
BaseControl/tsconfig.json
ButtonControl/source.ts
ButtonControl/tsconfig.json with "include": [ "../BaseClass/Source.d.ts"]

When I use in ButtonControl stuff from the BaseControl the code compiles and all Intellisense works.
But using "Goto Definition" F12 shows a small popup window: "No definition found for..."
Without using declarationMap:true F12 jumps to the Source.d.ts file.

Attached is a minimal example for VS Code
ts_navigation.zip

Related Issues:
Related to #25322 but this is typescript only (no gulp-sourcemaps involved)
@weswigham

@mhegazy mhegazy added the Bug A bug in TypeScript label Jul 19, 2018
@mhegazy mhegazy added this to the TypeScript 3.0.1 milestone Jul 19, 2018
@mhegazy
Copy link
Contributor

mhegazy commented Jul 19, 2018

@weswigham can you take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue
Projects
None yet
Development

No branches or pull requests

3 participants