CARVIEW |
Select Language
HTTP/2 200
date: Fri, 18 Jul 2025 20:50:45 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/"8346a8165944cccda055343dcbfd8b1b"
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=7R5M1dgDTKn4wgVES1qzKbRYIVqevLTRDYuCIQGEgxFkzkXPvfPT25VzEdQ7cezTLN5Iii6f67213vxWFoQYUhDDJrh0X9WLKIAEPyvOhHzhw2AVJCl%2BcwU8NXtFfoVcoyz0DTilbjdG4%2FhtUQxNNpOKyKMRLeP34LcjtBs1z%2BBwgOqbWDYuhEORoowFTzpY2ExuHoc2CBjCdNZF9Qn9rbtaAPF7bVuw2a2fEw%2BkMkXgrUy%2FvLy8sa6ebTF%2BtYR2pL%2BerkVke%2BrOD1ab98kl%2BQ%3D%3D--GQ2jl3WshJ9y79D3--DOcSXUZk8vPz6VHRudVPxQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.173444963.1752871844; Path=/; Domain=github.com; Expires=Sat, 18 Jul 2026 20:50:44 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 18 Jul 2026 20:50:44 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D13A:11AC52:171AA4:1DEC7A:687AB3A4
Merge pull request #21847 from Microsoft/predefinedConditionalTypes · microsoft/TypeScript@f1d7afe · GitHub
Copy file name to clipboardExpand all lines: tests/baselines/reference/conditionalTypes1.errors.txt
Copy file name to clipboardExpand all lines: tests/baselines/reference/conditionalTypes1.js
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit f1d7afe
authored
File tree
Expand file treeCollapse file tree
11 files changed
+1140
-1141
lines changedFilter options
- src/lib
- tests
- baselines/reference
- cases/conformance/types/conditional
Expand file treeCollapse file tree
11 files changed
+1140
-1141
lines changed+25Lines changed: 25 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1338 | 1338 |
| |
1339 | 1339 |
| |
1340 | 1340 |
| |
| 1341 | + | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
1341 | 1366 |
| |
1342 | 1367 |
| |
1343 | 1368 |
| |
|
tests/baselines/reference/conditionalTypes1.errors.txt
Copy file name to clipboardExpand all lines: tests/baselines/reference/conditionalTypes1.errors.txt+43-47Lines changed: 43 additions & 47 deletions
Large diffs are not rendered by default.
tests/baselines/reference/conditionalTypes1.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/conditionalTypes1.js+26-33Lines changed: 26 additions & 33 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
3 |
| - | |
4 |
| - | |
| 2 | + | |
| 3 | + | |
5 | 4 |
| |
6 |
| - | |
7 |
| - | |
8 |
| - | |
9 |
| - | |
10 |
| - | |
| 5 | + | |
| 6 | + | |
11 | 7 |
| |
12 | 8 |
| |
13 | 9 |
| |
| |||
31 | 27 |
| |
32 | 28 |
| |
33 | 29 |
| |
34 |
| - | |
35 |
| - | |
| 30 | + | |
| 31 | + | |
36 | 32 |
| |
37 |
| - | |
38 |
| - | |
| 33 | + | |
| 34 | + | |
39 | 35 |
| |
40 |
| - | |
41 |
| - | |
| 36 | + | |
| 37 | + | |
42 | 38 |
| |
43 |
| - | |
| 39 | + | |
44 | 40 |
| |
45 | 41 |
| |
46 |
| - | |
| 42 | + | |
47 | 43 |
| |
48 | 44 |
| |
49 | 45 |
| |
50 |
| - | |
| 46 | + | |
51 | 47 |
| |
52 | 48 |
| |
53 | 49 |
| |
| |||
332 | 328 |
| |
333 | 329 |
| |
334 | 330 |
| |
335 |
| - | |
336 |
| - | |
337 |
| - | |
338 |
| - | |
339 |
| - | |
340 |
| - | |
341 |
| - | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
342 | 335 |
| |
343 | 336 |
| |
344 | 337 |
| |
| |||
354 | 347 |
| |
355 | 348 |
| |
356 | 349 |
| |
357 |
| - | |
| 350 | + | |
358 | 351 |
| |
359 | 352 |
| |
360 |
| - | |
| 353 | + | |
361 | 354 |
| |
362 | 355 |
| |
363 |
| - | |
| 356 | + | |
364 | 357 |
| |
365 | 358 |
| |
366 | 359 |
| |
367 | 360 |
| |
368 |
| - | |
| 361 | + | |
369 | 362 |
| |
370 | 363 |
| |
371 | 364 |
| |
372 | 365 |
| |
373 |
| - | |
| 366 | + | |
374 | 367 |
| |
375 | 368 |
| |
376 |
| - | |
| 369 | + | |
377 | 370 |
| |
378 | 371 |
| |
379 |
| - | |
| 372 | + | |
380 | 373 |
| |
381 | 374 |
| |
382 | 375 |
| |
383 | 376 |
| |
384 | 377 |
| |
385 | 378 |
| |
386 |
| - | |
| 379 | + | |
387 | 380 |
| |
388 | 381 |
| |
389 | 382 |
| |
390 |
| - | |
| 383 | + | |
391 | 384 |
| |
392 | 385 |
| |
393 | 386 |
| |
|
You can’t perform that action at this time.
0 commit comments