CARVIEW |
Select Language
HTTP/2 200
date: Tue, 22 Jul 2025 03:03:00 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/"4caf11a4c125bd3dc923085edd0f42f9"
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=c2VJ1HrHeYO%2FU2sa%2B5djQ0FKK487rksQgeqbSeDIAL7QOCdUBnJq4lWovwHTZpsDvCzEaqaivLEgbiijuCx8DLEOr3uFYNGTYcne36e0IZ8OkXCGXo75UG3lxBCbtz2Rw4HNP8uCKu%2FhYHEWrNlIG7VeuPW2P1d8zVkF%2Fll8F%2FW7apJvZmnQDjPgJSovAY4i%2FTyBDKVB8P1kQ2PJYzDSAKKAyJFXHll66aSZCFnJfGhOOH6NVHreeYHSJdhnrrwGUxU3coab7rG5VfKRQ7AP6w%3D%3D--np%2BuWL0NOMkQlE0j--SpxlawdcRL5NJk4lyEV28w%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.468058948.1753153377; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 03:02:57 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 03:02:57 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B0A8:350B12:AC6DA:FCBED:687EFF61
Fix 'as const'-like behavior in JSDoc type cast (#45464) · microsoft/TypeScript@107c556 · GitHub
Copy file name to clipboardExpand all lines: src/compiler/factory/utilities.ts
Copy file name to clipboardExpand all lines: tests/baselines/reference/api/tsserverlibrary.d.ts
Copy file name to clipboardExpand all lines: tests/baselines/reference/api/typescript.d.ts
Copy file name to clipboardExpand all lines: tests/baselines/reference/jsdocTypeTagCast.errors.txt
Copy file name to clipboardExpand all lines: tests/baselines/reference/jsdocTypeTagCast.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/jsdocTypeTagCast.symbols
Copy file name to clipboardExpand all lines: tests/baselines/reference/jsdocTypeTagCast.types
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit 107c556
File tree
Expand file treeCollapse file tree
11 files changed
+119
-23
lines changedFilter options
- src/compiler
- factory
- tests
- baselines/reference
- api
- cases/conformance/jsdoc
Expand file treeCollapse file tree
11 files changed
+119
-23
lines changed+24-12Lines changed: 24 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8402 | 8402 |
| |
8403 | 8403 |
| |
8404 | 8404 |
| |
8405 |
| - | |
| 8405 | + | |
8406 | 8406 |
| |
8407 | 8407 |
| |
8408 | 8408 |
| |
8409 | 8409 |
| |
8410 |
| - | |
| 8410 | + | |
8411 | 8411 |
| |
8412 | 8412 |
| |
8413 | 8413 |
| |
| |||
22968 | 22968 |
| |
22969 | 22969 |
| |
22970 | 22970 |
| |
22971 |
| - | |
| 22971 | + | |
22972 | 22972 |
| |
22973 | 22973 |
| |
22974 | 22974 |
| |
| |||
23290 | 23290 |
| |
23291 | 23291 |
| |
23292 | 23292 |
| |
23293 |
| - | |
| 23293 | + | |
23294 | 23294 |
| |
23295 | 23295 |
| |
23296 | 23296 |
| |
| |||
25874 | 25874 |
| |
25875 | 25875 |
| |
25876 | 25876 |
| |
25877 |
| - | |
| 25877 | + | |
| 25878 | + | |
| 25879 | + | |
25878 | 25880 |
| |
25879 | 25881 |
| |
25880 | 25882 |
| |
| |||
32857 | 32859 |
| |
32858 | 32860 |
| |
32859 | 32861 |
| |
32860 |
| - | |
32861 |
| - | |
| 32862 | + | |
| 32863 | + | |
| 32864 | + | |
| 32865 | + | |
32862 | 32866 |
| |
32863 | 32867 |
| |
32864 | 32868 |
| |
| |||
32933 | 32937 |
| |
32934 | 32938 |
| |
32935 | 32939 |
| |
| 32940 | + | |
32936 | 32941 |
| |
32937 | 32942 |
| |
32938 | 32943 |
| |
| |||
33145 | 33150 |
| |
33146 | 33151 |
| |
33147 | 33152 |
| |
33148 |
| - | |
| 33153 | + | |
| 33154 | + | |
| 33155 | + | |
| 33156 | + | |
| 33157 | + | |
| 33158 | + | |
| 33159 | + | |
| 33160 | + | |
33149 | 33161 |
| |
33150 | 33162 |
| |
33151 | 33163 |
| |
| |||
33232 | 33244 |
| |
33233 | 33245 |
| |
33234 | 33246 |
| |
33235 |
| - | |
33236 |
| - | |
33237 |
| - | |
| 33247 | + | |
| 33248 | + | |
| 33249 | + | |
33238 | 33250 |
| |
33239 | 33251 |
| |
33240 | 33252 |
| |
| |||
36184 | 36196 |
| |
36185 | 36197 |
| |
36186 | 36198 |
| |
36187 |
| - | |
| 36199 | + | |
36188 | 36200 |
| |
36189 | 36201 |
| |
36190 | 36202 |
| |
|
src/compiler/factory/utilities.ts
Copy file name to clipboardExpand all lines: src/compiler/factory/utilities.ts+15Lines changed: 15 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
416 | 416 |
| |
417 | 417 |
| |
418 | 418 |
| |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
419 | 431 |
| |
420 | 432 |
| |
421 | 433 |
| |
| 434 | + | |
| 435 | + | |
| 436 | + | |
422 | 437 |
| |
423 | 438 |
| |
424 | 439 |
| |
|
+8-1Lines changed: 8 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2253 | 2253 |
| |
2254 | 2254 |
| |
2255 | 2255 |
| |
| 2256 | + | |
| 2257 | + | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
2256 | 2261 |
| |
2257 | 2262 |
| |
2258 | 2263 |
| |
| |||
6891 | 6896 |
| |
6892 | 6897 |
| |
6893 | 6898 |
| |
6894 |
| - | |
| 6899 | + | |
| 6900 | + | |
| 6901 | + | |
6895 | 6902 |
| |
6896 | 6903 |
| |
6897 | 6904 |
| |
|
+29-6Lines changed: 29 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2634 | 2634 |
| |
2635 | 2635 |
| |
2636 | 2636 |
| |
2637 |
| - | |
| 2637 | + | |
2638 | 2638 |
| |
2639 | 2639 |
| |
2640 | 2640 |
| |
2641 | 2641 |
| |
2642 | 2642 |
| |
2643 |
| - | |
| 2643 | + | |
2644 | 2644 |
| |
2645 | 2645 |
| |
2646 | 2646 |
| |
| |||
2656 | 2656 |
| |
2657 | 2657 |
| |
2658 | 2658 |
| |
| 2659 | + | |
| 2660 | + | |
| 2661 | + | |
| 2662 | + | |
| 2663 | + | |
| 2664 | + | |
| 2665 | + | |
| 2666 | + | |
| 2667 | + | |
| 2668 | + | |
| 2669 | + | |
| 2670 | + | |
| 2671 | + | |
| 2672 | + | |
| 2673 | + | |
| 2674 | + | |
| 2675 | + | |
| 2676 | + | |
| 2677 | + | |
| 2678 | + | |
2659 | 2679 |
| |
2660 | 2680 |
| |
2661 | 2681 |
| |
| |||
2899 | 2919 |
| |
2900 | 2920 |
| |
2901 | 2921 |
| |
2902 |
| - | |
2903 |
| - | |
2904 |
| - | |
2905 |
| - | |
| 2922 | + | |
| 2923 | + | |
| 2924 | + | |
| 2925 | + | |
| 2926 | + | |
| 2927 | + | |
| 2928 | + | |
2906 | 2929 |
| |
2907 | 2930 |
| |
2908 | 2931 |
| |
|
tests/baselines/reference/api/tsserverlibrary.d.ts
Copy file name to clipboardExpand all lines: tests/baselines/reference/api/tsserverlibrary.d.ts+2-1Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3220 | 3220 |
| |
3221 | 3221 |
| |
3222 | 3222 |
| |
3223 |
| - | |
| 3223 | + | |
| 3224 | + | |
3224 | 3225 |
| |
3225 | 3226 |
| |
3226 | 3227 |
| |
|
tests/baselines/reference/api/typescript.d.ts
Copy file name to clipboardExpand all lines: tests/baselines/reference/api/typescript.d.ts+2-1Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3220 | 3220 |
| |
3221 | 3221 |
| |
3222 | 3222 |
| |
3223 |
| - | |
| 3223 | + | |
| 3224 | + | |
3224 | 3225 |
| |
3225 | 3226 |
| |
3226 | 3227 |
| |
|
tests/baselines/reference/jsdocTypeTagCast.errors.txt
Copy file name to clipboardExpand all lines: tests/baselines/reference/jsdocTypeTagCast.errors.txt+4-1Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
123 | 123 |
| |
124 | 124 |
| |
125 | 125 |
| |
126 |
| - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + |
tests/baselines/reference/jsdocTypeTagCast.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/jsdocTypeTagCast.js+8-1Lines changed: 8 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
74 | 74 |
| |
75 | 75 |
| |
76 | 76 |
| |
77 |
| - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
78 | 81 |
| |
79 | 82 |
| |
80 | 83 |
| |
| |||
154 | 157 |
| |
155 | 158 |
| |
156 | 159 |
| |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + |
tests/baselines/reference/jsdocTypeTagCast.symbols
Copy file name to clipboardExpand all lines: tests/baselines/reference/jsdocTypeTagCast.symbols+9Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
157 | 157 |
| |
158 | 158 |
| |
159 | 159 |
| |
| 160 | + | |
| 161 | + | |
160 | 162 |
| |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + |
tests/baselines/reference/jsdocTypeTagCast.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/jsdocTypeTagCast.types+14Lines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
209 | 209 |
| |
210 | 210 |
| |
211 | 211 |
| |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
212 | 216 |
| |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + |
You can’t perform that action at this time.
0 commit comments