Title: VS 201x and VS Code are not able to find real source with declarationMaps · Issue #25792 · microsoft/TypeScript · GitHub
Open Graph Title: VS 201x and VS Code are not able to find real source with declarationMaps · Issue #25792 · microsoft/TypeScript
X Title: VS 201x and VS Code are not able to find real source with declarationMaps · Issue #25792 · microsoft/TypeScript
Description: 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.t...
Open Graph Description: 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 wi...
X Description: 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 wi...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/25792
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"VS 201x and VS Code are not able to find real source with declarationMaps","articleBody":"**TypeScript Version:** Version 3.0.0-dev and 2.9\r\n\r\n**Search Terms:**\r\ngoto definition F12\r\n\r\n**Code structure**\r\nBaseControl/source.ts\r\nBaseControl/tsconfig.json\r\nButtonControl/source.ts\r\nButtonControl/tsconfig.json with `\"include\": [ \"../BaseClass/Source.d.ts\"]`\r\n\r\nWhen I use in `ButtonControl` stuff from the `BaseControl `the code compiles and all Intellisense works. \r\nBut using \"Goto Definition\" F12 shows a small popup window: \"No definition found for...\"\r\nWithout using `declarationMap:true` F12 jumps to the `Source.d.ts` file.\r\n\r\nAttached is a minimal example for VS Code\r\n[ts_navigation.zip](https://github.com/Microsoft/TypeScript/files/2209446/ts_navigation.zip)\r\n\r\n**Related Issues:**\r\nRelated to #25322 but this is typescript only (no gulp-sourcemaps involved)\r\n@weswigham ","author":{"url":"https://github.com/HolgerJeromin","@type":"Person","name":"HolgerJeromin"},"datePublished":"2018-07-19T10:27:46Z","url":"https://github.com/microsoft/TypeScript/issues/25792"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4855bec3-f2bd-42f5-75e7-d182c50265fa |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E828:22DB35:2A771DA:362D156:6B0199FE |
| html-safe-nonce | 32823db7726d03c57954454a38a1e430bf85220e0e9609633a6c81efc6182774 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODI4OjIyREIzNToyQTc3MURBOjM2MkQxNTY6NkIwMTk5RkUiLCJ2aXNpdG9yX2lkIjoiNzA5MjAwMzAyNjM0MDI1NjI1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a2c74342eb225dfc405f64cb78bcc89574e3ffd2b5bae85900f7f853b73f6767 |
| hovercard-subject-tag | issue:342670857 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/25792/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8308450faa044cdc103609cab33fcc7bfa52c1cb30d8a6e27c1cd53b69808720/microsoft/TypeScript/issues/25792 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8308450faa044cdc103609cab33fcc7bfa52c1cb30d8a6e27c1cd53b69808720/microsoft/TypeScript/issues/25792 |
| og:image:alt | 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 wi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | HolgerJeromin |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width