CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 11:49:33 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/"fd869d72389b602b027be855272ff926"
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=H8blFtoJssP4Oj2bGfjtQ0CbmQ8hV9CNMP7Ms5h5ASL69wUdBdM7Asw7FCMrDF6Nq2TPUecQSykLswQcERtbUmEdM5YPRSgeHAvpbRBsUiFGVEu8nBK6GkQzIOvu0B8fBGNCEoXohYTckOsLxEBjwnahpHLbq3oAWH32y4rMgx9GJQnHyN7%2F1fl5QwxMxmUobAnatKfALHUBRvUYLtAY6IfM6pX1boO0cpz5R7476SNN3L2ANQHqCs%2BmFdCLv%2F00vKYEpxyex32xlxGXcUKzjA%3D%3D--Vxu%2FzsPJAE0egZRY--Lc62k%2FDYrF3Wg2YQa3rLOQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.876565208.1752925771; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 11:49:31 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 11:49:31 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: DFE4:A43E1:705C38:936C2F:687B864B
Find Source Definition (#48264) · microsoft/TypeScript@8bd7ce6 · GitHub
Copy file name to clipboardExpand all lines: src/compiler/moduleNameResolver.ts
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit 8bd7ce6
authored
Find Source Definition (#48264)
* Prototype resolving to JS when go-to-def aliases all resolve to ambient declarations
* Add test infrastructure
* Start fleshing out test coverage
* Fix some go-to-def stuff
* Finish lodash test case
* Make go-to-implementation never return ambient results
* Build new functionality into go-to-implementation
* Update baselines
* Two more test cases
* Refine definition searches for unresolved imports
* Revert "Build new functionality into go-to-implementation"
This reverts commit 381799d.
* Fix tests
* Revert go-to-implementation changes
* Wow a bunch of code was unnecessary
* Update baselines and go-to-def test
* Fix navigation on symbols that are not aliases but resolve through aliases in chain
* Temporarily replace go-to-def with new command implementation
* Revert "Temporarily replace go-to-def with new command implementation"
This reverts commit 34c6cfd.
* Revert "Wow a bunch of code was unnecessary"
This reverts commit 1cb2ba6.
* Bring back some deleted code needed for a new test case
* Clean up a little
* Rename more stuff
* Update test
* Update API baseline
* Temporarily replace go-to-def with new command implementation
* PR review fixes
* Fix getTopMostDeclarationNamesInFile
* Rename local
* Use hash set
* Remove option from commandLineParser
* Keep noDtsResolution project around
* Handle AuxiliaryProject kind in ScriptInfo getDefaultProject etc.
* Do not run updateGraph in the background for AuxiliaryProject
* Don’t create auxiliary project outside of semantic mode
* No-op on scheduled invalidation
* Add comments to unit test
* Sync compiler options to auxiliary project
* Fix case sensitivity
* Update extensionIsOk with new file extensions
* PR feedback
* Update API baseline
* Mark scheduleInvalidateResolutionsOfFailedLookupLocations internal
* Use same heuristics on property accesses of loosely-resolvable aliases as unresolvable named imports
* Rename command, and no need to return the bound span
* Update API baseline1 parent e6dcf6f commit 8bd7ce6Copy full SHA for 8bd7ce6
File tree
Expand file treeCollapse file tree
36 files changed
+1056
-104
lines changedFilter options
- src
- compiler
- harness
- server
- services
- codefixes
- testRunner
- unittests/tsserver
- tests
- baselines/reference
- api
- showConfig/Shows tsconfig for single option/noDtsResolution
- cases/fourslash
- server
Expand file treeCollapse file tree
36 files changed
+1056
-104
lines changed+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9206 | 9206 |
| |
9207 | 9207 |
| |
9208 | 9208 |
| |
9209 |
| - | |
| 9209 | + | |
9210 | 9210 |
| |
9211 | 9211 |
| |
9212 | 9212 |
| |
|
src/compiler/moduleNameResolver.ts
Copy file name to clipboardExpand all lines: src/compiler/moduleNameResolver.ts+33-10Lines changed: 33 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
72 |
| - | |
| 72 | + | |
| 73 | + | |
73 | 74 |
| |
74 | 75 |
| |
75 | 76 |
| |
| |||
1290 | 1291 |
| |
1291 | 1292 |
| |
1292 | 1293 |
| |
1293 |
| - | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
1294 | 1307 |
| |
1295 | 1308 |
| |
1296 | 1309 |
| |
| |||
1299 | 1312 |
| |
1300 | 1313 |
| |
1301 | 1314 |
| |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
1302 | 1320 |
| |
1303 | 1321 |
| |
1304 | 1322 |
| |
1305 | 1323 |
| |
1306 | 1324 |
| |
1307 | 1325 |
| |
1308 | 1326 |
| |
1309 |
| - | |
| 1327 | + | |
1310 | 1328 |
| |
1311 | 1329 |
| |
1312 | 1330 |
| |
| |||
1533 | 1551 |
| |
1534 | 1552 |
| |
1535 | 1553 |
| |
| 1554 | + | |
| 1555 | + | |
1536 | 1556 |
| |
1537 | 1557 |
| |
1538 | 1558 |
| |
1539 | 1559 |
| |
1540 |
| - | |
| 1560 | + | |
1541 | 1561 |
| |
1542 | 1562 |
| |
1543 | 1563 |
| |
1544 |
| - | |
| 1564 | + | |
1545 | 1565 |
| |
1546 | 1566 |
| |
1547 |
| - | |
| 1567 | + | |
1548 | 1568 |
| |
1549 |
| - | |
| 1569 | + | |
1550 | 1570 |
| |
1551 | 1571 |
| |
1552 | 1572 |
| |
| |||
1813 | 1833 |
| |
1814 | 1834 |
| |
1815 | 1835 |
| |
| 1836 | + | |
1816 | 1837 |
| |
1817 | 1838 |
| |
1818 | 1839 |
| |
| |||
1893 | 1914 |
| |
1894 | 1915 |
| |
1895 | 1916 |
| |
1896 |
| - | |
| 1917 | + | |
1897 | 1918 |
| |
1898 | 1919 |
| |
1899 | 1920 |
| |
1900 | 1921 |
| |
1901 |
| - | |
| 1922 | + | |
| 1923 | + | |
| 1924 | + | |
1902 | 1925 |
| |
1903 |
| - | |
| 1926 | + | |
1904 | 1927 |
| |
1905 | 1928 |
| |
1906 | 1929 |
| |
|
+5-1Lines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4668 | 4668 |
| |
4669 | 4669 |
| |
4670 | 4670 |
| |
4671 |
| - | |
| 4671 | + | |
4672 | 4672 |
| |
| 4673 | + | |
| 4674 | + | |
4673 | 4675 |
| |
4674 | 4676 |
| |
4675 | 4677 |
| |
| |||
6178 | 6180 |
| |
6179 | 6181 |
| |
6180 | 6182 |
| |
| 6183 | + | |
| 6184 | + | |
6181 | 6185 |
| |
6182 | 6186 |
| |
6183 | 6187 |
| |
|
+70-11Lines changed: 70 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
933 | 933 |
| |
934 | 934 |
| |
935 | 935 |
| |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
936 | 940 |
| |
937 | 941 |
| |
938 | 942 |
| |
| |||
2558 | 2562 |
| |
2559 | 2563 |
| |
2560 | 2564 |
| |
2561 |
| - | |
| 2565 | + | |
2562 | 2566 |
| |
2563 | 2567 |
| |
2564 |
| - | |
| 2568 | + | |
2565 | 2569 |
| |
2566 |
| - | |
| 2570 | + | |
2567 | 2571 |
| |
2568 |
| - | |
| 2572 | + | |
2569 | 2573 |
| |
2570 | 2574 |
| |
2571 | 2575 |
| |
| |||
3131 | 3135 |
| |
3132 | 3136 |
| |
3133 | 3137 |
| |
3134 |
| - | |
3135 |
| - | |
| 3138 | + | |
| 3139 | + | |
| 3140 | + | |
| 3141 | + | |
| 3142 | + | |
3136 | 3143 |
| |
3137 |
| - | |
| 3144 | + | |
3138 | 3145 |
| |
3139 | 3146 |
| |
3140 | 3147 |
| |
3141 | 3148 |
| |
3142 | 3149 |
| |
3143 | 3150 |
| |
3144 |
| - | |
| 3151 | + | |
| 3152 | + | |
| 3153 | + | |
| 3154 | + | |
| 3155 | + | |
| 3156 | + | |
3145 | 3157 |
| |
3146 |
| - | |
3147 |
| - | |
3148 |
| - | |
| 3158 | + | |
| 3159 | + | |
| 3160 | + | |
| 3161 | + | |
| 3162 | + | |
3149 | 3163 |
| |
3150 | 3164 |
| |
3151 | 3165 |
| |
| |||
3156 | 3170 |
| |
3157 | 3171 |
| |
3158 | 3172 |
| |
| 3173 | + | |
3159 | 3174 |
| |
3160 | 3175 |
| |
3161 | 3176 |
| |
| |||
5142 | 5157 |
| |
5143 | 5158 |
| |
5144 | 5159 |
| |
| 5160 | + | |
| 5161 | + | |
| 5162 | + | |
| 5163 | + | |
| 5164 | + | |
5145 | 5165 |
| |
5146 | 5166 |
| |
5147 | 5167 |
| |
| |||
5829 | 5849 |
| |
5830 | 5850 |
| |
5831 | 5851 |
| |
| 5852 | + | |
| 5853 | + | |
| 5854 | + | |
| 5855 | + | |
| 5856 | + | |
| 5857 | + | |
| 5858 | + | |
| 5859 | + | |
| 5860 | + | |
| 5861 | + | |
| 5862 | + | |
| 5863 | + | |
| 5864 | + | |
| 5865 | + | |
| 5866 | + | |
| 5867 | + | |
| 5868 | + | |
| 5869 | + | |
| 5870 | + | |
| 5871 | + | |
| 5872 | + | |
| 5873 | + | |
| 5874 | + | |
| 5875 | + | |
| 5876 | + | |
| 5877 | + | |
| 5878 | + | |
| 5879 | + | |
| 5880 | + | |
| 5881 | + | |
| 5882 | + | |
| 5883 | + | |
| 5884 | + | |
| 5885 | + | |
| 5886 | + | |
| 5887 | + | |
| 5888 | + | |
| 5889 | + | |
| 5890 | + | |
5832 | 5891 |
| |
5833 | 5892 |
| |
5834 | 5893 |
| |
|
+18-1Lines changed: 18 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
298 | 298 |
| |
299 | 299 |
| |
300 | 300 |
| |
301 |
| - | |
| 301 | + | |
302 | 302 |
| |
303 | 303 |
| |
304 | 304 |
| |
| |||
332 | 332 |
| |
333 | 333 |
| |
334 | 334 |
| |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
335 | 352 |
| |
336 | 353 |
| |
337 | 354 |
| |
|
You can’t perform that action at this time.
0 commit comments