CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 04:45:09 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/microsoft/TypeScript.git
etag: W/"de77d5cca316d5d977a76d715975fbf7"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=oILYn3ZCzXzgLcCmg%2FlnCyu8rNnSX9LCw2TZyR%2FiEy7p%2BYonSc9JCmLuBJCRenbYEgGBEkKrRz7Gxr28ayUjYK%2BkmwjeasgagDuwnGHrletmNDqU2bqNRxaTm2%2Bj3F2ITwSQGoUrXqQc%2BiitYuOmTO2AjecEFMEWjImLutvQpejumWn4fNely63CTfGeRTqI%2FhOUszhTzaNryWoasM1Eg7mvHCDn0vhmbSyTTnNtRF6xlqAPsowU48t3DFZvEZWD8sgHreSaFoSmyiBIRkCeWA%3D%3D--VGOtZUddXrzQnBLL--OYhhoiZ1SRODGgW7dwzzAQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1715583281.1752900307; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 04:45:07 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 04:45:07 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: DCFA:9AEBD:BD74E:103C43:687B22D3
Declaration maps and transparent goto definition using them (#22658) · microsoft/TypeScript@6af764c · GitHub
Dismiss banner
Copy file name to clipboardExpand all lines: src/compiler/commandLineParser.ts
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit 6af764c
authored
Declaration maps and transparent goto definition using them (#22658)
* Add compiler option to enable declaration sourcemaps
* Transparent goto definition for sourcemapped declaration files
* Post-rebase touchups
* Rename API methods
* Fix lints
* Fix typo in name XD
* Log sourcemap decode errors
* Share the cache more, but also invalidate it more
* Remove todo
* Enable mapping on go to implementation as well
* Allow fourslash to test declaration maps mroe easily
* more test
* Handle sourceRoot
* Add tests documenting current behavior with other sourcemapping flags
* Ignore inline options for declaration file maps, simplify dispatch in emitter
* Change program diagnostic
* Fix nit
* Use charCodeAt
* Rename internal methods + veriables
* Avoid filter
* span -> position
* Use character codes
* Dont parse our sourcemap names until we need to start using them
* zero-index parsed positions
* Handle sourceMappingURL comments, including base64 encoded ones
* Unittest b64 decoder, make mroe robust to handle unicode properly
* Fix lint
* declarationMaps -> declarationMap
* Even more feedback
* USE Mroe lenient combined regexp
* only match base64 characters
* Fix nit1 parent fe8f239 commit 6af764cCopy full SHA for 6af764c
File tree
Expand file treeCollapse file tree
83 files changed
+3473
-87
lines changedFilter options
- src
- compiler
- harness
- unittests
- services
- tests
- baselines/reference
- api
- project
- mapRootSourceRootWithNoSourceMapOption
- amd
- node
- mapRootWithNoSourceMapOption
- amd
- node
- tsConfig
- Default initialized TSConfig
- Initialized TSConfig with boolean value compiler options
- Initialized TSConfig with enum value compiler options
- Initialized TSConfig with files options
- Initialized TSConfig with incorrect compiler option value
- Initialized TSConfig with incorrect compiler option
- Initialized TSConfig with list compiler options with enum value
- Initialized TSConfig with list compiler options
- cases
- compiler
- fourslash
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Expand file treeCollapse file tree
83 files changed
+3473
-87
lines changed+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
115 | 115 |
| |
116 | 116 |
| |
117 | 117 |
| |
| 118 | + | |
118 | 119 |
| |
119 | 120 |
| |
120 | 121 |
| |
|
src/compiler/commandLineParser.ts
Copy file name to clipboardExpand all lines: src/compiler/commandLineParser.ts+7Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
194 | 194 |
| |
195 | 195 |
| |
196 | 196 |
| |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
197 | 204 |
| |
198 | 205 |
| |
199 | 206 |
| |
|
+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2048 | 2048 |
| |
2049 | 2049 |
| |
2050 | 2050 |
| |
| 2051 | + | |
| 2052 | + | |
| 2053 | + | |
| 2054 | + | |
2051 | 2055 |
| |
2052 | 2056 |
| |
2053 | 2057 |
| |
|
src/compiler/diagnosticMessages.json
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json+8Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2767 | 2767 |
| |
2768 | 2768 |
| |
2769 | 2769 |
| |
| 2770 | + | |
| 2771 | + | |
| 2772 | + | |
| 2773 | + | |
2770 | 2774 |
| |
| 2775 | + | |
| 2776 | + | |
| 2777 | + | |
| 2778 | + | |
2771 | 2779 |
| |
2772 | 2780 |
| |
2773 | 2781 |
| |
|
+36-23Lines changed: 36 additions & 23 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
52 |
| - | |
| 52 | + | |
| 53 | + | |
53 | 54 |
| |
54 | 55 |
| |
55 | 56 |
| |
56 | 57 |
| |
57 | 58 |
| |
58 | 59 |
| |
59 | 60 |
| |
60 |
| - | |
| 61 | + | |
| 62 | + | |
61 | 63 |
| |
62 | 64 |
| |
63 | 65 |
| |
64 | 66 |
| |
65 |
| - | |
| 67 | + | |
66 | 68 |
| |
67 | 69 |
| |
68 | 70 |
| |
| |||
88 | 90 |
| |
89 | 91 |
| |
90 | 92 |
| |
91 |
| - | |
| 93 | + | |
92 | 94 |
| |
93 | 95 |
| |
94 | 96 |
| |
95 | 97 |
| |
96 | 98 |
| |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
97 | 106 |
| |
98 | 107 |
| |
99 | 108 |
| |
| |||
113 | 122 |
| |
114 | 123 |
| |
115 | 124 |
| |
116 |
| - | |
| 125 | + | |
117 | 126 |
| |
118 |
| - | |
| 127 | + | |
119 | 128 |
| |
120 | 129 |
| |
121 | 130 |
| |
| |||
162 | 171 |
| |
163 | 172 |
| |
164 | 173 |
| |
165 |
| - | |
| 174 | + | |
166 | 175 |
| |
167 | 176 |
| |
168 | 177 |
| |
169 | 178 |
| |
170 | 179 |
| |
171 |
| - | |
| 180 | + | |
172 | 181 |
| |
173 | 182 |
| |
174 | 183 |
| |
| |||
186 | 195 |
| |
187 | 196 |
| |
188 | 197 |
| |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
189 | 204 |
| |
190 | 205 |
| |
191 | 206 |
| |
192 | 207 |
| |
193 | 208 |
| |
194 | 209 |
| |
195 | 210 |
| |
196 |
| - | |
197 |
| - | |
198 |
| - | |
| 211 | + | |
199 | 212 |
| |
200 | 213 |
| |
201 | 214 |
| |
202 | 215 |
| |
203 |
| - | |
| 216 | + | |
204 | 217 |
| |
205 | 218 |
| |
206 | 219 |
| |
207 |
| - | |
| 220 | + | |
208 | 221 |
| |
209 | 222 |
| |
210 | 223 |
| |
| |||
218 | 231 |
| |
219 | 232 |
| |
220 | 233 |
| |
221 |
| - | |
222 |
| - | |
| 234 | + | |
| 235 | + | |
223 | 236 |
| |
224 | 237 |
| |
225 | 238 |
| |
226 | 239 |
| |
227 |
| - | |
228 |
| - | |
229 |
| - | |
230 |
| - | |
231 |
| - | |
232 |
| - | |
233 |
| - | |
| 240 | + | |
| 241 | + | |
234 | 242 |
| |
235 | 243 |
| |
236 | 244 |
| |
237 | 245 |
| |
238 | 246 |
| |
239 | 247 |
| |
240 |
| - | |
| 248 | + | |
241 | 249 |
| |
242 | 250 |
| |
243 | 251 |
| |
| |||
250 | 258 |
| |
251 | 259 |
| |
252 | 260 |
| |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
253 | 266 |
| |
254 | 267 |
| |
255 | 268 |
| |
|
+13-9Lines changed: 13 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2113 | 2113 |
| |
2114 | 2114 |
| |
2115 | 2115 |
| |
2116 |
| - | |
| 2116 | + | |
2117 | 2117 |
| |
2118 |
| - | |
| 2118 | + | |
2119 | 2119 |
| |
2120 | 2120 |
| |
2121 | 2121 |
| |
| |||
2127 | 2127 |
| |
2128 | 2128 |
| |
2129 | 2129 |
| |
| 2130 | + | |
| 2131 | + | |
| 2132 | + | |
| 2133 | + | |
2130 | 2134 |
| |
2131 | 2135 |
| |
2132 | 2136 |
| |
| |||
2301 | 2305 |
| |
2302 | 2306 |
| |
2303 | 2307 |
| |
2304 |
| - | |
2305 |
| - | |
| 2308 | + | |
| 2309 | + | |
2306 | 2310 |
| |
2307 | 2311 |
| |
2308 | 2312 |
| |
2309 | 2313 |
| |
2310 | 2314 |
| |
2311 | 2315 |
| |
2312 |
| - | |
| 2316 | + | |
2313 | 2317 |
| |
2314 | 2318 |
| |
2315 |
| - | |
| 2319 | + | |
2316 | 2320 |
| |
2317 | 2321 |
| |
2318 |
| - | |
| 2322 | + | |
2319 | 2323 |
| |
2320 | 2324 |
| |
2321 | 2325 |
| |
| |||
2334 | 2338 |
| |
2335 | 2339 |
| |
2336 | 2340 |
| |
2337 |
| - | |
| 2341 | + | |
2338 | 2342 |
| |
2339 | 2343 |
| |
2340 |
| - | |
| 2344 | + | |
2341 | 2345 |
| |
2342 | 2346 |
| |
2343 | 2347 |
| |
|
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
330 | 330 |
| |
331 | 331 |
| |
332 | 332 |
| |
333 |
| - | |
| 333 | + | |
334 | 334 |
| |
335 | 335 |
| |
336 | 336 |
| |
|
You can’t perform that action at this time.
0 commit comments