Title: Sourcemaps for .d.ts files break go to definition in vscode · Issue #34446 · angular/angular · GitHub
Open Graph Title: Sourcemaps for .d.ts files break go to definition in vscode · Issue #34446 · angular/angular
X Title: Sourcemaps for .d.ts files break go to definition in vscode · Issue #34446 · angular/angular
Description: 🐞 bug report Affected Package All core packages Is this a regression? This is new in version 9 of Angular Description In version 9 of Angular the core.d.ts file contains a sourcemap link to the core.d.ts.map file. The sourcemap file itse...
Open Graph Description: 🐞 bug report Affected Package All core packages Is this a regression? This is new in version 9 of Angular Description In version 9 of Angular the core.d.ts file contains a sourcemap link to the cor...
X Description: 🐞 bug report Affected Package All core packages Is this a regression? This is new in version 9 of Angular Description In version 9 of Angular the core.d.ts file contains a sourcemap link to the cor...
Opengraph URL: https://github.com/angular/angular/issues/34446
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Sourcemaps for .d.ts files break go to definition in vscode","articleBody":"# 🐞 bug report\r\n\r\n### Affected Package\r\nAll core packages\r\n\r\n### Is this a regression?\r\nThis is new in version 9 of Angular\r\n\r\n\r\n### Description\r\nIn version 9 of Angular the `core.d.ts` file contains a sourcemap link to the `core.d.ts.map` file. The sourcemap file itself also contains the source of the `d.ts` file itself. This throws off the vscode tsserver implementation with the result that go to definition is broken for angular projects.\r\n\r\n## 🔬 Minimal Reproduction\r\nSteps to Reproduce:\r\n1. Install Angular CLI\r\n1. Create new project ng new shiny-ivy-app --enable-ivy\r\n1. Build project ng serve\r\n1. Open the project with vscode\r\n1. Open app.component.ts and try to go to definition for Component\r\n\r\n## 🔥 Exception or Error\r\nhttps://github.com/microsoft/TypeScript/issues/35014\r\n\r\n## 🌍 Your Environment\r\n\r\n**Angular Version:**\r\n\u003cpre>\u003ccode>\r\nAngular CLI: 9.0.0-rc.5\r\nNode: 12.10.0\r\nOS: darwin x64\r\n\r\nAngular: 9.0.0-rc.5\r\n... animations, cdk, cli, common, compiler, compiler-cli, core\r\n... forms, language-service, material, platform-browser\r\n... platform-browser-dynamic, router\r\nIvy Workspace: Yes\r\n\r\nPackage Version\r\n------------------------------------------------------------\r\n@angular-devkit/architect 0.900.0-rc.5\r\n@angular-devkit/build-angular 0.900.0-rc.5\r\n@angular-devkit/build-ng-packagr 0.900.0-rc.5\r\n@angular-devkit/build-optimizer 0.900.0-rc.5\r\n@angular-devkit/build-webpack 0.900.0-rc.5\r\n@angular-devkit/core 9.0.0-rc.5\r\n@angular-devkit/schematics 9.0.0-rc.5\r\n@ngtools/webpack 9.0.0-rc.5\r\n@schematics/angular 9.0.0-rc.5\r\n@schematics/update 0.900.0-rc.5\r\nng-packagr 9.0.0-rc.3\r\nrxjs 6.5.3\r\ntypescript 3.6.4\r\nwebpack 4.41.2\r\n\u003c/code>\u003c/pre>\r\n\u003cpre>\u003ccode>\r\nVisual Studio Code\r\n\r\nVersion: 1.41.0\r\nCommit: 9579eda04fdb3a9bba2750f15193e5fafe16b959\r\nDate: 2019-12-11T17:58:38.338Z\r\nElectron: 6.1.5\r\nChrome: 76.0.3809.146\r\nNode.js: 12.4.0\r\nV8: 7.6.303.31-electron.0\r\nOS: Darwin x64 19.2.0\r\n\u003c/code>\u003c/pre>\r\n\r\n**Anything else relevant?**\r\nThere is already an issue open for this issue in the TypeScript repository. However I believe it is relevant for everybody who is using vscode to develop their angular application.\r\n","author":{"url":"https://github.com/tmair","@type":"Person","name":"tmair"},"datePublished":"2019-12-17T07:50:39Z","url":"https://github.com/angular/angular/issues/34446"}
| 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:e71d66fe-16d9-7a7f-eda3-5b5d2868b482 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DEC8:1201C:1264321:187CC0F:6B011D98 |
| html-safe-nonce | 725b20480687e18aa77b5d7cde85a9dc1706393aea38b9387fd4bc5a00035410 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUM4OjEyMDFDOjEyNjQzMjE6MTg3Q0MwRjo2QjAxMUQ5OCIsInZpc2l0b3JfaWQiOiIyNzk2NzQ4OTUxMDc4OTAzMTkyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 091389d931ffdabdda876199454f53682f231de128d06fd845aabe19b13e4d1a |
| hovercard-subject-tag | issue:538896973 |
| 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/angular/angular/34446/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c8d7d1c997ba1ca001cabe03b1050fa96e47c450c7fb03a1e91a329963a21620/angular/angular/issues/34446 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c8d7d1c997ba1ca001cabe03b1050fa96e47c450c7fb03a1e91a329963a21620/angular/angular/issues/34446 |
| og:image:alt | 🐞 bug report Affected Package All core packages Is this a regression? This is new in version 9 of Angular Description In version 9 of Angular the core.d.ts file contains a sourcemap link to the cor... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tmair |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| 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