CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 02:31:24 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/"c6aed39d44c754b0ed281b4b512281a7"
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=s%2BluBL6WVDiZu9BXfgwX3YTrMUtDfYqld5SoIYECVoOLlv9Jo49P%2BtqnwsXejC4ceV2Mcn7qxEW%2B4ZS7awX33GRS0YOaaOyvjJnOGMKmR1uYZUiLGZ9ZBMju8j4itcDj5OsxXkwb6pCZp1EIMf%2BFNG%2BbW8mgbEN5q3C4p4ep4H8cXfo8vOcsF2%2F1gTrQSmrKftpShmSfwQdlgN7Drd4biH0LfdjloORA7DMIjJ%2FZboDh5A89XmNrKbPngdIwNIsxGA3fH%2FE8uyqOl3UY1WHMPA%3D%3D--uTvaIQU5QhRf0uK8--HCZ4TXBw4fyiaYs9fdHMug%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.726750714.1753324282; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 02:31:22 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 02:31:22 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 94D4:0A62:10471A:190496:68819AFA
Narrow generic conditional and indexed access return types when check… · microsoft/TypeScript@30979c2 · GitHub
Dismiss banner
Copy file name to clipboardExpand all lines: src/compiler/factory/nodeFactory.ts
Copy file name to clipboard
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 30979c2
File tree
Expand file treeCollapse file tree
41 files changed
+11876
-42
lines changedFilter options
- src/compiler
- factory
- tests
- baselines/reference
- 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
41 files changed
+11876
-42
lines changed+14Lines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
543 | 543 |
| |
544 | 544 |
| |
545 | 545 |
| |
| 546 | + | |
546 | 547 |
| |
547 | 548 |
| |
548 | 549 |
| |
| |||
622 | 623 |
| |
623 | 624 |
| |
624 | 625 |
| |
| 626 | + | |
625 | 627 |
| |
626 | 628 |
| |
627 | 629 |
| |
| |||
967 | 969 |
| |
968 | 970 |
| |
969 | 971 |
| |
| 972 | + | |
970 | 973 |
| |
| 974 | + | |
971 | 975 |
| |
972 | 976 |
| |
973 | 977 |
| |
| |||
1071 | 1075 |
| |
1072 | 1076 |
| |
1073 | 1077 |
| |
| 1078 | + | |
1074 | 1079 |
| |
1075 | 1080 |
| |
1076 | 1081 |
| |
| |||
1571 | 1576 |
| |
1572 | 1577 |
| |
1573 | 1578 |
| |
| 1579 | + | |
| 1580 | + | |
1574 | 1581 |
| |
| 1582 | + | |
1575 | 1583 |
| |
1576 | 1584 |
| |
1577 | 1585 |
| |
| |||
2016 | 2024 |
| |
2017 | 2025 |
| |
2018 | 2026 |
| |
| 2027 | + | |
| 2028 | + | |
| 2029 | + | |
2019 | 2030 |
| |
2020 | 2031 |
| |
2021 | 2032 |
| |
2022 | 2033 |
| |
| 2034 | + | |
| 2035 | + | |
| 2036 | + | |
2023 | 2037 |
| |
2024 | 2038 |
| |
2025 | 2039 |
| |
|
+409-40Lines changed: 409 additions & 40 deletions
Large diffs are not rendered by default.
src/compiler/factory/nodeFactory.ts
Copy file name to clipboardExpand all lines: src/compiler/factory/nodeFactory.ts+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3481 | 3481 |
| |
3482 | 3482 |
| |
3483 | 3483 |
| |
| 3484 | + | |
| 3485 | + | |
3484 | 3486 |
| |
3485 | 3487 |
| |
3486 | 3488 |
| |
|
+13-2Lines changed: 13 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2735 | 2735 |
| |
2736 | 2736 |
| |
2737 | 2737 |
| |
| 2738 | + | |
| 2739 | + | |
| 2740 | + | |
| 2741 | + | |
2738 | 2742 |
| |
2739 | 2743 |
| |
2740 | 2744 |
| |
| |||
6240 | 6244 |
| |
6241 | 6245 |
| |
6242 | 6246 |
| |
| 6247 | + | |
6243 | 6248 |
| |
6244 | 6249 |
| |
6245 | 6250 |
| |
| |||
6506 | 6511 |
| |
6507 | 6512 |
| |
6508 | 6513 |
| |
| 6514 | + | |
| 6515 | + | |
6509 | 6516 |
| |
6510 | 6517 |
| |
6511 | 6518 |
| |
| |||
6905 | 6912 |
| |
6906 | 6913 |
| |
6907 | 6914 |
| |
6908 |
| - | |
| 6915 | + | |
6909 | 6916 |
| |
6910 | 6917 |
| |
6911 | 6918 |
| |
6912 |
| - | |
| 6919 | + | |
6913 | 6920 |
| |
| 6921 | + | |
| 6922 | + | |
| 6923 | + | |
| 6924 | + | |
6914 | 6925 |
| |
6915 | 6926 |
| |
6916 | 6927 |
| |
|
tests/baselines/reference/arrowExpressionJs.symbols
Copy file name to clipboard+13Lines changed: 13 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 | + |
tests/baselines/reference/arrowExpressionJs.types
Copy file name to clipboard+22Lines changed: 22 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 | + |
You can’t perform that action at this time.
0 commit comments