CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 02:32: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/"a2d0ae8d2d11d64ae4071c599a53ef13"
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=UrkB%2Fviaw4vHv0uTHiyvqvB5a%2Bfuo0VITxazJ7Z116n7wfY5sJCFxsu%2FUnJu9%2FSTR13wuREfNhl9eD1K%2FGtyRf2BDnP9Wzw%2BCf9CgoOzQPAQhUdXhClXASAshO66gF9nW5UL0t3UeiNaPe%2BlJqcis41UjX79pY5ATna8hC0SlNy9oPFxmM%2FZqii7IfmAzrO2JdAdZbrx8m%2FuPBgqO1N3D3bVPS%2B6ia1G1SjFnqVsq2HsJFXr7MbBclwnrv6kN35RYoci%2Fmzyas0FU1Zl%2FIxAjA%3D%3D--Rd7lvNsjEmtajIIK--MKDz7rmDQYTzS9WirPHKnw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.113224436.1752892364; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 02:32:44 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 02:32:44 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: DAAA:10A6BA:8E99:D19F:687B03CC
Support relations and inference between template literal types (#43361) · microsoft/TypeScript@4774666 · GitHub
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 4774666
authored
File tree
Expand file treeCollapse file tree
6 files changed
+1254
-50
lines changedFilter options
- src/compiler
- tests
- baselines/reference
- cases/conformance/types/literal
Expand file treeCollapse file tree
6 files changed
+1254
-50
lines changed+108-50Lines changed: 108 additions & 50 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14295 | 14295 |
| |
14296 | 14296 |
| |
14297 | 14297 |
| |
14298 |
| - | |
14299 |
| - | |
14300 |
| - | |
| 14298 | + | |
14301 | 14299 |
| |
14302 | 14300 |
| |
14303 | 14301 |
| |
| |||
14577 | 14575 |
| |
14578 | 14576 |
| |
14579 | 14577 |
| |
14580 |
| - | |
| 14578 | + | |
14581 | 14579 |
| |
14582 | 14580 |
| |
14583 | 14581 |
| |
| |||
18275 | 18273 |
| |
18276 | 18274 |
| |
18277 | 18275 |
| |
18278 |
| - | |
18279 |
| - | |
18280 |
| - | |
18281 |
| - | |
18282 |
| - | |
18283 |
| - | |
18284 |
| - | |
| 18276 | + | |
| 18277 | + | |
| 18278 | + | |
| 18279 | + | |
18285 | 18280 |
| |
18286 | 18281 |
| |
18287 | 18282 |
| |
| |||
20688 | 20683 |
| |
20689 | 20684 |
| |
20690 | 20685 |
| |
20691 |
| - | |
20692 |
| - | |
20693 |
| - | |
20694 |
| - | |
20695 |
| - | |
20696 |
| - | |
20697 |
| - | |
20698 |
| - | |
20699 |
| - | |
20700 |
| - | |
20701 |
| - | |
20702 |
| - | |
20703 |
| - | |
20704 |
| - | |
20705 |
| - | |
20706 |
| - | |
20707 |
| - | |
20708 |
| - | |
20709 |
| - | |
20710 |
| - | |
20711 |
| - | |
20712 |
| - | |
20713 |
| - | |
20714 |
| - | |
20715 |
| - | |
20716 |
| - | |
20717 |
| - | |
20718 |
| - | |
20719 |
| - | |
20720 |
| - | |
20721 |
| - | |
20722 |
| - | |
20723 |
| - | |
20724 |
| - | |
20725 |
| - | |
20726 |
| - | |
| 20686 | + | |
| 20687 | + | |
| 20688 | + | |
| 20689 | + | |
| 20690 | + | |
| 20691 | + | |
| 20692 | + | |
| 20693 | + | |
| 20694 | + | |
| 20695 | + | |
| 20696 | + | |
| 20697 | + | |
| 20698 | + | |
| 20699 | + | |
| 20700 | + | |
| 20701 | + | |
| 20702 | + | |
| 20703 | + | |
| 20704 | + | |
| 20705 | + | |
| 20706 | + | |
| 20707 | + | |
| 20708 | + | |
| 20709 | + | |
| 20710 | + | |
| 20711 | + | |
| 20712 | + | |
| 20713 | + | |
| 20714 | + | |
| 20715 | + | |
| 20716 | + | |
| 20717 | + | |
| 20718 | + | |
| 20719 | + | |
| 20720 | + | |
| 20721 | + | |
| 20722 | + | |
| 20723 | + | |
| 20724 | + | |
| 20725 | + | |
| 20726 | + | |
| 20727 | + | |
| 20728 | + | |
| 20729 | + | |
| 20730 | + | |
| 20731 | + | |
| 20732 | + | |
| 20733 | + | |
| 20734 | + | |
| 20735 | + | |
| 20736 | + | |
| 20737 | + | |
| 20738 | + | |
| 20739 | + | |
| 20740 | + | |
| 20741 | + | |
| 20742 | + | |
| 20743 | + | |
| 20744 | + | |
| 20745 | + | |
| 20746 | + | |
| 20747 | + | |
| 20748 | + | |
| 20749 | + | |
| 20750 | + | |
| 20751 | + | |
| 20752 | + | |
| 20753 | + | |
| 20754 | + | |
| 20755 | + | |
| 20756 | + | |
| 20757 | + | |
| 20758 | + | |
| 20759 | + | |
| 20760 | + | |
| 20761 | + | |
| 20762 | + | |
| 20763 | + | |
| 20764 | + | |
| 20765 | + | |
| 20766 | + | |
| 20767 | + | |
| 20768 | + | |
| 20769 | + | |
| 20770 | + | |
| 20771 | + | |
| 20772 | + | |
| 20773 | + | |
20727 | 20774 |
| |
| 20775 | + | |
| 20776 | + | |
| 20777 | + | |
| 20778 | + | |
| 20779 | + | |
| 20780 | + | |
| 20781 | + | |
| 20782 | + | |
| 20783 | + | |
| 20784 | + | |
| 20785 | + | |
| 20786 | + | |
| 20787 | + | |
20728 | 20788 |
| |
20729 | 20789 |
| |
20730 | 20790 |
| |
| |||
21189 | 21249 |
| |
21190 | 21250 |
| |
21191 | 21251 |
| |
21192 |
| - | |
21193 |
| - | |
21194 |
| - | |
| 21252 | + | |
21195 | 21253 |
| |
21196 | 21254 |
| |
21197 | 21255 |
| |
|
tests/baselines/reference/templateLiteralTypes3.errors.txt
Copy file name to clipboard+129Lines changed: 129 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 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + |
You can’t perform that action at this time.
0 commit comments