CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 18:32:43 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/"ddc0d26d38aadf595ae987ed36d36ce6"
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=HewR%2FavsrtyeQV96iz8AcSjygSFFo%2FEScfQraJNdsso7V%2B0ITkRC2J%2F8kHPD4Ntc7Qu0kq1RYNHw2psSnlIkm3PkkueKcgwUrDRsmh8W%2B2LCqwO6Kbm9eYK3f4Zny0WC8qJX0x3Rro8tgzMCz2L0UP7c7Md5bMYuKACJzQwqmIY5qN8z66Jr92ZbSPJzj00JknFljymiBaiwR5ON49gxtHuYf8F3nGGU4uN%2BMxMOJRY10%2B58aRV5s%2F1SmwnI2CbiaQ5XduxnArYFmsrKOTC2ow%3D%3D--cF0phOO3WjGUuDfv--suItsELRyau96QOK%2FybyqA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1737069316.1752949959; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 18:32:39 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 18:32:39 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A560:228B1:A33225:D2DE46:687BE4C7
Improve inference for context sensitive functions in object and array… · microsoft/TypeScript@a3c2218 · GitHub
Copy file name to clipboardExpand all lines: tests/baselines/reference/contextualTypingOfOptionalMembers.types
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit a3c2218
authored
File tree
Expand file treeCollapse file tree
8 files changed
+1968
-43
lines changedFilter options
- src/compiler
- tests
- baselines/reference
- cases/conformance/types/typeRelationships/typeInference
Expand file treeCollapse file tree
8 files changed
+1968
-43
lines changed+87-31Lines changed: 87 additions & 31 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21749 | 21749 |
| |
21750 | 21750 |
| |
21751 | 21751 |
| |
| 21752 | + | |
| 21753 | + | |
| 21754 | + | |
21752 | 21755 |
| |
21753 | 21756 |
| |
21754 | 21757 |
| |
| |||
21766 | 21769 |
| |
21767 | 21770 |
| |
21768 | 21771 |
| |
| 21772 | + | |
| 21773 | + | |
| 21774 | + | |
| 21775 | + | |
| 21776 | + | |
| 21777 | + | |
| 21778 | + | |
| 21779 | + | |
| 21780 | + | |
| 21781 | + | |
| 21782 | + | |
| 21783 | + | |
| 21784 | + | |
| 21785 | + | |
| 21786 | + | |
| 21787 | + | |
| 21788 | + | |
| 21789 | + | |
| 21790 | + | |
| 21791 | + | |
| 21792 | + | |
| 21793 | + | |
| 21794 | + | |
| 21795 | + | |
| 21796 | + | |
| 21797 | + | |
| 21798 | + | |
| 21799 | + | |
| 21800 | + | |
| 21801 | + | |
| 21802 | + | |
21769 | 21803 |
| |
21770 | 21804 |
| |
21771 | 21805 |
| |
| |||
27429 | 27463 |
| |
27430 | 27464 |
| |
27431 | 27465 |
| |
| 27466 | + | |
| 27467 | + | |
| 27468 | + | |
| 27469 | + | |
| 27470 | + | |
27432 | 27471 |
| |
27433 | 27472 |
| |
27434 | 27473 |
| |
| |||
27646 | 27685 |
| |
27647 | 27686 |
| |
27648 | 27687 |
| |
| 27688 | + | |
| 27689 | + | |
| 27690 | + | |
| 27691 | + | |
| 27692 | + | |
| 27693 | + | |
| 27694 | + | |
| 27695 | + | |
27649 | 27696 |
| |
27650 | 27697 |
| |
27651 | 27698 |
| |
| |||
29748 | 29795 |
| |
29749 | 29796 |
| |
29750 | 29797 |
| |
29751 |
| - | |
29752 |
| - | |
29753 |
| - | |
29754 |
| - | |
29755 |
| - | |
29756 |
| - | |
29757 |
| - | |
29758 |
| - | |
29759 |
| - | |
29760 |
| - | |
29761 |
| - | |
29762 |
| - | |
29763 |
| - | |
29764 |
| - | |
29765 |
| - | |
29766 |
| - | |
29767 |
| - | |
29768 | 29798 |
| |
29769 |
| - | |
29770 |
| - | |
29771 |
| - | |
29772 |
| - | |
29773 |
| - | |
29774 |
| - | |
29775 |
| - | |
29776 |
| - | |
29777 |
| - | |
29778 |
| - | |
| 29799 | + | |
| 29800 | + | |
| 29801 | + | |
| 29802 | + | |
| 29803 | + | |
| 29804 | + | |
| 29805 | + | |
| 29806 | + | |
| 29807 | + | |
| 29808 | + | |
| 29809 | + | |
| 29810 | + | |
| 29811 | + | |
| 29812 | + | |
| 29813 | + | |
| 29814 | + | |
| 29815 | + | |
| 29816 | + | |
| 29817 | + | |
| 29818 | + | |
| 29819 | + | |
| 29820 | + | |
| 29821 | + | |
| 29822 | + | |
| 29823 | + | |
| 29824 | + | |
| 29825 | + | |
| 29826 | + | |
| 29827 | + | |
29779 | 29828 |
| |
29780 | 29829 |
| |
29781 | 29830 |
| |
| |||
29789 | 29838 |
| |
29790 | 29839 |
| |
29791 | 29840 |
| |
29792 |
| - | |
| 29841 | + | |
29793 | 29842 |
| |
29794 | 29843 |
| |
29795 | 29844 |
| |
| |||
29798 | 29847 |
| |
29799 | 29848 |
| |
29800 | 29849 |
| |
29801 |
| - | |
29802 |
| - | |
| 29850 | + | |
| 29851 | + | |
| 29852 | + | |
| 29853 | + | |
29803 | 29854 |
| |
29804 | 29855 |
| |
29805 | 29856 |
| |
29806 |
| - | |
| 29857 | + | |
29807 | 29858 |
| |
29808 | 29859 |
| |
29809 | 29860 |
| |
| |||
34162 | 34213 |
| |
34163 | 34214 |
| |
34164 | 34215 |
| |
| 34216 | + | |
| 34217 | + | |
| 34218 | + | |
| 34219 | + | |
| 34220 | + | |
34165 | 34221 |
| |
34166 | 34222 |
| |
34167 | 34223 |
| |
|
+7Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5915 | 5915 |
| |
5916 | 5916 |
| |
5917 | 5917 |
| |
| 5918 | + | |
| 5919 | + | |
| 5920 | + | |
| 5921 | + | |
| 5922 | + | |
| 5923 | + | |
| 5924 | + | |
5918 | 5925 |
| |
5919 | 5926 |
| |
5920 | 5927 |
| |
|
tests/baselines/reference/contextualTypingOfOptionalMembers.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/contextualTypingOfOptionalMembers.types+12-12Lines changed: 12 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 |
| - | |
| 28 | + | |
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
46 |
| - | |
47 |
| - | |
| 46 | + | |
| 47 | + | |
48 | 48 |
| |
49 |
| - | |
| 49 | + | |
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
| |||
95 | 95 |
| |
96 | 96 |
| |
97 | 97 |
| |
98 |
| - | |
| 98 | + | |
99 | 99 |
| |
100 | 100 |
| |
101 | 101 |
| |
| |||
113 | 113 |
| |
114 | 114 |
| |
115 | 115 |
| |
116 |
| - | |
117 |
| - | |
| 116 | + | |
| 117 | + | |
118 | 118 |
| |
119 |
| - | |
| 119 | + | |
120 | 120 |
| |
121 | 121 |
| |
122 | 122 |
| |
| |||
134 | 134 |
| |
135 | 135 |
| |
136 | 136 |
| |
137 |
| - | |
| 137 | + | |
138 | 138 |
| |
139 | 139 |
| |
140 | 140 |
| |
| |||
151 | 151 |
| |
152 | 152 |
| |
153 | 153 |
| |
154 |
| - | |
155 |
| - | |
| 154 | + | |
| 155 | + | |
156 | 156 |
| |
157 |
| - | |
| 157 | + | |
158 | 158 |
| |
159 | 159 |
| |
160 | 160 |
| |
|
You can’t perform that action at this time.
0 commit comments