CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 11:38:44 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/"168d6eafa97f72ee5bdb0ce44ec02437"
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=Jmld%2FZO6HEbc6cG0RFkLp1n57WOTaG0bPoRKxeM5cSqBPQx91gBD4dPyVXabIa0RNyUl%2Fip79CKjcOylOPM21g8yHdNWn6Qd0MgsiQ%2BqnLsxNbYA9aU0eLpAkQtyZ77VaBeSO%2BGvcun0XN67scbTzqkH6WY402JnHZkbvYEFVRecLDAmZQRDjKLbbtY1X93dPOOwwznqhJEX7OeG%2Fj9ntTC2p%2FYOR2KQUBPwOVZeou309G7tParu78RFoEBk56exxdlfI3RhRhlj9lxHf0GNbw%3D%3D--kO%2BkcpQLm3s80ctJ--KMSNtCs1fdZtYfY7WQL%2FcA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.499356956.1753270721; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 11:38:41 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 11:38:41 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B842:124FF4:A7C117:C9355D:6880C9C1
Disallow truthiness/nullishness checks on syntax that never varies on… · microsoft/TypeScript@71fb864 · GitHub
Dismiss banner
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboardExpand all lines: tests/baselines/reference/bestCommonTypeWithContextualTyping.types
Copy file name to clipboard
Copy file name to clipboardExpand all lines: tests/baselines/reference/checkJsdocReturnTag2.errors.txt
Copy file name to clipboard
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit 71fb864
authored
File tree
Expand file treeCollapse file tree
77 files changed
+2669
-34
lines changedFilter options
- src/compiler
- tests
- baselines/reference
- cases/compiler
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
77 files changed
+2669
-34
lines changed+110-4Lines changed: 110 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
470 | 470 |
| |
471 | 471 |
| |
472 | 472 |
| |
| 473 | + | |
473 | 474 |
| |
474 | 475 |
| |
475 | 476 |
| |
| |||
899 | 900 |
| |
900 | 901 |
| |
901 | 902 |
| |
| 903 | + | |
902 | 904 |
| |
903 | 905 |
| |
904 | 906 |
| |
| |||
929 | 931 |
| |
930 | 932 |
| |
931 | 933 |
| |
| 934 | + | |
932 | 935 |
| |
933 | 936 |
| |
934 | 937 |
| |
| |||
39470 | 39473 |
| |
39471 | 39474 |
| |
39472 | 39475 |
| |
39473 |
| - | |
| 39476 | + | |
39474 | 39477 |
| |
39475 | 39478 |
| |
39476 | 39479 |
| |
| |||
39503 | 39506 |
| |
39504 | 39507 |
| |
39505 | 39508 |
| |
39506 |
| - | |
| 39509 | + | |
| 39510 | + | |
| 39511 | + | |
39507 | 39512 |
| |
39508 | 39513 |
| |
39509 | 39514 |
| |
| |||
39569 | 39574 |
| |
39570 | 39575 |
| |
39571 | 39576 |
| |
39572 |
| - | |
| 39577 | + | |
39573 | 39578 |
| |
39574 | 39579 |
| |
39575 | 39580 |
| |
| |||
39578 | 39583 |
| |
39579 | 39584 |
| |
39580 | 39585 |
| |
| 39586 | + | |
| 39587 | + | |
| 39588 | + | |
| 39589 | + | |
| 39590 | + | |
| 39591 | + | |
| 39592 | + | |
| 39593 | + | |
| 39594 | + | |
| 39595 | + | |
| 39596 | + | |
| 39597 | + | |
| 39598 | + | |
| 39599 | + | |
| 39600 | + | |
| 39601 | + | |
| 39602 | + | |
| 39603 | + | |
| 39604 | + | |
| 39605 | + | |
| 39606 | + | |
| 39607 | + | |
| 39608 | + | |
| 39609 | + | |
| 39610 | + | |
| 39611 | + | |
| 39612 | + | |
| 39613 | + | |
| 39614 | + | |
| 39615 | + | |
| 39616 | + | |
| 39617 | + | |
| 39618 | + | |
| 39619 | + | |
| 39620 | + | |
| 39621 | + | |
| 39622 | + | |
| 39623 | + | |
| 39624 | + | |
| 39625 | + | |
| 39626 | + | |
| 39627 | + | |
| 39628 | + | |
| 39629 | + | |
| 39630 | + | |
| 39631 | + | |
| 39632 | + | |
| 39633 | + | |
| 39634 | + | |
| 39635 | + | |
| 39636 | + | |
| 39637 | + | |
39581 | 39638 |
| |
| 39639 | + | |
39582 | 39640 |
| |
39583 | 39641 |
| |
39584 | 39642 |
| |
| |||
39589 | 39647 |
| |
39590 | 39648 |
| |
39591 | 39649 |
| |
39592 |
| - | |
| 39650 | + | |
39593 | 39651 |
| |
39594 | 39652 |
| |
39595 | 39653 |
| |
| |||
44217 | 44275 |
| |
44218 | 44276 |
| |
44219 | 44277 |
| |
| 44278 | + | |
| 44279 | + | |
| 44280 | + | |
| 44281 | + | |
| 44282 | + | |
| 44283 | + | |
| 44284 | + | |
| 44285 | + | |
| 44286 | + | |
| 44287 | + | |
| 44288 | + | |
| 44289 | + | |
44220 | 44290 |
| |
44221 | 44291 |
| |
44222 | 44292 |
| |
| 44293 | + | |
| 44294 | + | |
| 44295 | + | |
| 44296 | + | |
| 44297 | + | |
| 44298 | + | |
| 44299 | + | |
| 44300 | + | |
| 44301 | + | |
| 44302 | + | |
| 44303 | + | |
| 44304 | + | |
| 44305 | + | |
| 44306 | + | |
| 44307 | + | |
| 44308 | + | |
| 44309 | + | |
| 44310 | + | |
| 44311 | + | |
| 44312 | + | |
| 44313 | + | |
| 44314 | + | |
| 44315 | + | |
| 44316 | + | |
| 44317 | + | |
| 44318 | + | |
| 44319 | + | |
| 44320 | + | |
| 44321 | + | |
| 44322 | + | |
| 44323 | + | |
| 44324 | + | |
| 44325 | + | |
| 44326 | + | |
| 44327 | + | |
| 44328 | + | |
44223 | 44329 |
| |
44224 | 44330 |
| |
44225 | 44331 |
| |
|
src/compiler/diagnosticMessages.json
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json+20-1Lines changed: 20 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3915 | 3915 |
| |
3916 | 3916 |
| |
3917 | 3917 |
| |
3918 |
| - | |
| 3918 | + | |
| 3919 | + | |
| 3920 | + | |
| 3921 | + | |
| 3922 | + | |
| 3923 | + | |
| 3924 | + | |
| 3925 | + | |
| 3926 | + | |
| 3927 | + | |
| 3928 | + | |
| 3929 | + | |
| 3930 | + | |
| 3931 | + | |
| 3932 | + | |
| 3933 | + | |
| 3934 | + | |
| 3935 | + | |
| 3936 | + | |
| 3937 | + | |
3919 | 3938 |
| |
3920 | 3939 |
| |
3921 | 3940 |
| |
|
+8Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
923 | 923 |
| |
924 | 924 |
| |
925 | 925 |
| |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
926 | 934 |
| |
927 | 935 |
| |
928 | 936 |
| |
|
+2-1Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7190 | 7190 |
| |
7191 | 7191 |
| |
7192 | 7192 |
| |
7193 |
| - | |
| 7193 | + | |
| 7194 | + | |
7194 | 7195 |
| |
7195 | 7196 |
| |
7196 | 7197 |
| |
|
tests/baselines/reference/aliasUsageInOrExpression.errors.txt
Copy file name to clipboard+31Lines changed: 31 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + |
tests/baselines/reference/bestCommonTypeWithContextualTyping.errors.txt
Copy file name to clipboard+26Lines changed: 26 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + |
tests/baselines/reference/bestCommonTypeWithContextualTyping.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/bestCommonTypeWithContextualTyping.types+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
| 7 | + | |
7 | 8 |
| |
8 | 9 |
| |
9 | 10 |
| |
| |||
13 | 14 |
| |
14 | 15 |
| |
15 | 16 |
| |
| 17 | + | |
16 | 18 |
| |
17 | 19 |
| |
18 | 20 |
| |
| 21 | + | |
19 | 22 |
| |
20 | 23 |
| |
21 | 24 |
| |
|
tests/baselines/reference/checkJsdocReturnTag1.errors.txt
Copy file name to clipboard+28Lines changed: 28 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + |
tests/baselines/reference/checkJsdocReturnTag2.errors.txt
Copy file name to clipboardExpand all lines: tests/baselines/reference/checkJsdocReturnTag2.errors.txt+4-1Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
| 4 | + | |
4 | 5 |
| |
5 | 6 |
| |
6 |
| - | |
| 7 | + | |
7 | 8 |
| |
8 | 9 |
| |
9 | 10 |
| |
| |||
22 | 23 |
| |
23 | 24 |
| |
24 | 25 |
| |
| 26 | + | |
| 27 | + | |
25 | 28 |
| |
26 | 29 |
|
tests/baselines/reference/computedPropertyNames46_ES5.errors.txt
Copy file name to clipboard+9Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + |
You can’t perform that action at this time.
0 commit comments