CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 20:59:02 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/"e858b6b33c6f3e053d5aa85188072e58"
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=s0qYTMn3HWvyKGguxNg0b%2BalIVBnd7ZSAFfDLoAFylVLILwWM8ecsk8cTsRtHOfrDk2pdjiFRv0YCglPLT5pITubU3cMHSWp2K1PsGPYGe4iDUPXnEZ19kQCEiDkEQSVaEi3h2ke5ZNDdWK0jYf0gfUFalfgsVGGGBqyVX6gxy2tMJAI2BdXmiDCl9sdcErCoLkUV6ZVWjgFdwkiUcQTxORM3qBBt4U4BPh8YhUj34X7BhFGN1pd5sgpRA%2BzvyQAaiZomd0Ies56slOswQJ1ww%3D%3D--EJHpmYQ47XTksEUQ--XBP2Oxep7x%2BvDCdTM%2BFZuQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1138597466.1753304341; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 20:59:01 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 20:59:01 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: CC2E:394F4C:10CCEE0:13FE560:68814D15
Improve comparison operators type checking to disallow unions contain… · microsoft/TypeScript@2acbcee · GitHub
Copy file name to clipboardExpand all lines: tests/baselines/reference/comparisonOperatorWithNoRelationshipTypeParameter.errors.txt
Copy file name to clipboard
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 2acbcee
File tree
Expand file treeCollapse file tree
7 files changed
+255
-4
lines changedFilter options
- src/compiler
- tests
- baselines/reference
- cases/conformance/expressions/binaryOperators/comparisonOperator
Expand file treeCollapse file tree
7 files changed
+255
-4
lines changed+9-3Lines changed: 9 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36336 | 36336 |
| |
36337 | 36337 |
| |
36338 | 36338 |
| |
36339 |
| - | |
36340 |
| - | |
36341 |
| - | |
| 36339 | + | |
| 36340 | + | |
| 36341 | + | |
| 36342 | + | |
| 36343 | + | |
| 36344 | + | |
| 36345 | + | |
| 36346 | + | |
| 36347 | + | |
36342 | 36348 |
| |
36343 | 36349 |
| |
36344 | 36350 |
| |
|
tests/baselines/reference/comparisonOperatorWithNoRelationshipTypeParameter.errors.txt
Copy file name to clipboardExpand all lines: tests/baselines/reference/comparisonOperatorWithNoRelationshipTypeParameter.errors.txt+97-1Lines changed: 97 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
9 | 41 |
| |
10 | 42 |
| |
11 |
| - | |
| 43 | + | |
12 | 44 |
| |
13 | 45 |
| |
14 | 46 |
| |
| |||
48 | 80 |
| |
49 | 81 |
| |
50 | 82 |
| |
| 83 | + | |
| 84 | + | |
51 | 85 |
| |
52 | 86 |
| |
53 | 87 |
| |
| 88 | + | |
| 89 | + | |
54 | 90 |
| |
55 | 91 |
| |
56 | 92 |
| |
57 | 93 |
| |
58 | 94 |
| |
| 95 | + | |
| 96 | + | |
59 | 97 |
| |
60 | 98 |
| |
61 | 99 |
| |
| 100 | + | |
| 101 | + | |
62 | 102 |
| |
63 | 103 |
| |
64 | 104 |
| |
65 | 105 |
| |
66 | 106 |
| |
67 | 107 |
| |
| 108 | + | |
| 109 | + | |
68 | 110 |
| |
69 | 111 |
| |
70 | 112 |
| |
| 113 | + | |
| 114 | + | |
71 | 115 |
| |
72 | 116 |
| |
73 | 117 |
| |
74 | 118 |
| |
75 | 119 |
| |
| 120 | + | |
| 121 | + | |
76 | 122 |
| |
77 | 123 |
| |
78 | 124 |
| |
| 125 | + | |
| 126 | + | |
79 | 127 |
| |
80 | 128 |
| |
81 | 129 |
| |
82 | 130 |
| |
83 | 131 |
| |
84 | 132 |
| |
| 133 | + | |
| 134 | + | |
85 | 135 |
| |
86 | 136 |
| |
87 | 137 |
| |
| 138 | + | |
| 139 | + | |
88 | 140 |
| |
89 | 141 |
| |
90 | 142 |
| |
91 | 143 |
| |
92 | 144 |
| |
| 145 | + | |
| 146 | + | |
93 | 147 |
| |
94 | 148 |
| |
95 | 149 |
| |
| 150 | + | |
| 151 | + | |
96 | 152 |
| |
97 | 153 |
| |
98 | 154 |
| |
99 | 155 |
| |
100 | 156 |
| |
101 | 157 |
| |
| 158 | + | |
| 159 | + | |
102 | 160 |
| |
103 | 161 |
| |
104 | 162 |
| |
| 163 | + | |
| 164 | + | |
105 | 165 |
| |
106 | 166 |
| |
107 | 167 |
| |
108 | 168 |
| |
109 | 169 |
| |
| 170 | + | |
| 171 | + | |
110 | 172 |
| |
111 | 173 |
| |
112 | 174 |
| |
| 175 | + | |
| 176 | + | |
113 | 177 |
| |
114 | 178 |
| |
115 | 179 |
| |
116 | 180 |
| |
117 | 181 |
| |
118 | 182 |
| |
| 183 | + | |
| 184 | + | |
119 | 185 |
| |
120 | 186 |
| |
121 | 187 |
| |
| 188 | + | |
| 189 | + | |
122 | 190 |
| |
123 | 191 |
| |
124 | 192 |
| |
125 | 193 |
| |
126 | 194 |
| |
| 195 | + | |
| 196 | + | |
127 | 197 |
| |
128 | 198 |
| |
129 | 199 |
| |
| 200 | + | |
| 201 | + | |
130 | 202 |
| |
131 | 203 |
| |
132 | 204 |
| |
133 | 205 |
| |
134 | 206 |
| |
135 | 207 |
| |
| 208 | + | |
| 209 | + | |
136 | 210 |
| |
137 | 211 |
| |
138 | 212 |
| |
| 213 | + | |
| 214 | + | |
139 | 215 |
| |
140 | 216 |
| |
141 | 217 |
| |
142 | 218 |
| |
143 | 219 |
| |
| 220 | + | |
| 221 | + | |
144 | 222 |
| |
145 | 223 |
| |
146 | 224 |
| |
| 225 | + | |
| 226 | + | |
147 | 227 |
| |
148 | 228 |
| |
149 | 229 |
| |
150 | 230 |
| |
151 | 231 |
| |
152 | 232 |
| |
| 233 | + | |
| 234 | + | |
153 | 235 |
| |
154 | 236 |
| |
155 | 237 |
| |
| 238 | + | |
| 239 | + | |
156 | 240 |
| |
157 | 241 |
| |
158 | 242 |
| |
159 | 243 |
| |
160 | 244 |
| |
| 245 | + | |
| 246 | + | |
161 | 247 |
| |
162 | 248 |
| |
163 | 249 |
| |
| 250 | + | |
| 251 | + | |
164 | 252 |
| |
165 | 253 |
| |
166 | 254 |
| |
167 | 255 |
| |
168 | 256 |
| |
169 | 257 |
| |
| 258 | + | |
| 259 | + | |
170 | 260 |
| |
171 | 261 |
| |
172 | 262 |
| |
| 263 | + | |
| 264 | + | |
173 | 265 |
| |
174 | 266 |
| |
175 | 267 |
| |
176 | 268 |
| |
177 | 269 |
| |
| 270 | + | |
| 271 | + | |
178 | 272 |
| |
179 | 273 |
| |
180 | 274 |
| |
| 275 | + | |
| 276 | + | |
181 | 277 |
| |
182 | 278 |
| |
183 | 279 |
|
tests/baselines/reference/comparisonOperatorWithNumberOperand.errors.txt
Copy file name to clipboard+11Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + |
tests/baselines/reference/comparisonOperatorWithNumberOperand.symbols
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 | + |
tests/baselines/reference/comparisonOperatorWithNumberOperand.types
Copy file name to clipboard+10Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + |
You can’t perform that action at this time.
0 commit comments