CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 13:40:29 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/"491cd905b2d28cece9556d1205ae57cc"
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=jYEgE9ts%2Bw1fsfNRlj0451NGGsOIcbxASIEx4lZLBG8mLPYMSrcL%2BeuGNSlSTA2y%2B%2F4phJcbQdH5uSoQ%2BFT4MhJ5Fvl6MQ9Ec3qX4JzSDonZ5j8HPJ5wPRKoQ%2FHV8Lb95crbwJ4c1svEYp8jz67sWBQ5AfS38FzcR4oNFcn8hpgF5i7gP2XnEchS%2FKpa3ZmcH%2BeUiRPmK0FcmcL%2F6xbyA%2Fsfg8Qr25c%2BXd4SRsX6CrFI7VI4uPYzm3WsH%2FCw%2BztpkDIa9U2TksYWvye5d9Vzfg%3D%3D--ePgP51cIkXwNdQbS--TEn%2BzkEOq159CQQe1PBLnQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.414370430.1753278026; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 13:40:26 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 13:40:26 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8A3C:17EAA:C96B8F:EEAA39:6880E64A
Intrinsic string types (#40580) · microsoft/TypeScript@fbce4f6 · GitHub
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json
Copy file name to clipboardExpand all lines: src/compiler/factory/nodeFactory.ts
Copy file name to clipboardExpand all lines: src/harness/fourslashInterfaceImpl.ts
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit fbce4f6
authored
Intrinsic string types (#40580)
* Introduce Uppercase<T> and Lowercase<T> intrinsic types
* Accept new API baselines
* Add Uppercase/Lowercase/Capitalize/Uncapitalize to lib.d.ts
* Update fourslash
* Add an 'intrinsic' keyword
* Update template literal type tests
* Accept new API baselines
* Minor fixes
* Switch Capitalize<T> and Uncapitalize<T> to intrinsic types
* Add tests
* Accept new baselines
* Accept new baselines
* Remove template literal type casing modifiers
* Update tests
* Accept new baselines
* Add more tests
* Normalize nested template literal types
* Add normalization tests
* Accept new baselines
* Update tests1 parent ce3dbef commit fbce4f6Copy full SHA for fbce4f6
File tree
Expand file treeCollapse file tree
30 files changed
+1742
-853
lines changedFilter options
- src
- compiler
- factory
- harness
- lib
- tests
- baselines/reference
- api
- cases/conformance/types
- literal
- mapped
- typeAliases
Expand file treeCollapse file tree
30 files changed
+1742
-853
lines changed+139-53Lines changed: 139 additions & 53 deletions
Large diffs are not rendered by default.
src/compiler/diagnosticMessages.json
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3043 | 3043 |
| |
3044 | 3044 |
| |
3045 | 3045 |
| |
| 3046 | + | |
| 3047 | + | |
| 3048 | + | |
| 3049 | + | |
3046 | 3050 |
| |
3047 | 3051 |
| |
3048 | 3052 |
| |
|
-9Lines changed: 0 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2023 | 2023 |
| |
2024 | 2024 |
| |
2025 | 2025 |
| |
2026 |
| - | |
2027 |
| - | |
2028 |
| - | |
2029 |
| - | |
2030 |
| - | |
2031 |
| - | |
2032 |
| - | |
2033 |
| - | |
2034 |
| - | |
2035 | 2026 |
| |
2036 | 2027 |
| |
2037 | 2028 |
| |
|
src/compiler/factory/nodeFactory.ts
Copy file name to clipboardExpand all lines: src/compiler/factory/nodeFactory.ts+4-6Lines changed: 4 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1605 | 1605 |
| |
1606 | 1606 |
| |
1607 | 1607 |
| |
1608 |
| - | |
| 1608 | + | |
1609 | 1609 |
| |
1610 |
| - | |
1611 | 1610 |
| |
1612 | 1611 |
| |
1613 | 1612 |
| |
1614 | 1613 |
| |
1615 | 1614 |
| |
1616 | 1615 |
| |
1617 | 1616 |
| |
1618 |
| - | |
1619 |
| - | |
1620 |
| - | |
| 1617 | + | |
| 1618 | + | |
1621 | 1619 |
| |
1622 |
| - | |
| 1620 | + | |
1623 | 1621 |
| |
1624 | 1622 |
| |
1625 | 1623 |
| |
|
+1-10Lines changed: 1 addition & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2618 | 2618 |
| |
2619 | 2619 |
| |
2620 | 2620 |
| |
2621 |
| - | |
2622 | 2621 |
| |
2623 | 2622 |
| |
2624 | 2623 |
| |
2625 | 2624 |
| |
2626 | 2625 |
| |
2627 | 2626 |
| |
2628 | 2627 |
| |
2629 |
| - | |
2630 |
| - | |
2631 |
| - | |
2632 |
| - | |
2633 |
| - | |
2634 |
| - | |
2635 |
| - | |
2636 |
| - | |
2637 | 2628 |
| |
2638 | 2629 |
| |
2639 | 2630 |
| |
| |||
6751 | 6742 |
| |
6752 | 6743 |
| |
6753 | 6744 |
| |
6754 |
| - | |
| 6745 | + | |
6755 | 6746 |
| |
6756 | 6747 |
| |
6757 | 6748 |
| |
|
+1-4Lines changed: 1 addition & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
111 | 111 |
| |
112 | 112 |
| |
113 | 113 |
| |
| 114 | + | |
114 | 115 |
| |
115 | 116 |
| |
116 | 117 |
| |
| |||
151 | 152 |
| |
152 | 153 |
| |
153 | 154 |
| |
154 |
| - | |
155 |
| - | |
156 |
| - | |
157 |
| - | |
158 | 155 |
| |
159 | 156 |
| |
160 | 157 |
| |
|
+15-24Lines changed: 15 additions & 24 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
167 | 167 |
| |
168 | 168 |
| |
169 | 169 |
| |
| 170 | + | |
170 | 171 |
| |
171 | 172 |
| |
172 | 173 |
| |
| |||
186 | 187 |
| |
187 | 188 |
| |
188 | 189 |
| |
189 |
| - | |
190 |
| - | |
191 |
| - | |
192 |
| - | |
193 | 190 |
| |
194 | 191 |
| |
195 | 192 |
| |
| |||
544 | 541 |
| |
545 | 542 |
| |
546 | 543 |
| |
547 |
| - | |
548 | 544 |
| |
549 | 545 |
| |
550 | 546 |
| |
| |||
574 | 570 |
| |
575 | 571 |
| |
576 | 572 |
| |
| 573 | + | |
577 | 574 |
| |
578 | 575 |
| |
579 | 576 |
| |
580 |
| - | |
581 | 577 |
| |
582 | 578 |
| |
583 | 579 |
| |
| |||
605 | 601 |
| |
606 | 602 |
| |
607 | 603 |
| |
608 |
| - | |
609 | 604 |
| |
610 | 605 |
| |
611 | 606 |
| |
612 |
| - | |
613 | 607 |
| |
614 | 608 |
| |
615 | 609 |
| |
| |||
635 | 629 |
| |
636 | 630 |
| |
637 | 631 |
| |
| 632 | + | |
638 | 633 |
| |
639 | 634 |
| |
640 | 635 |
| |
| |||
1665 | 1660 |
| |
1666 | 1661 |
| |
1667 | 1662 |
| |
1668 |
| - | |
1669 | 1663 |
| |
1670 | 1664 |
| |
1671 | 1665 |
| |
1672 | 1666 |
| |
1673 |
| - | |
1674 |
| - | |
1675 |
| - | |
1676 |
| - | |
1677 |
| - | |
1678 |
| - | |
1679 |
| - | |
1680 |
| - | |
1681 | 1667 |
| |
1682 | 1668 |
| |
1683 | 1669 |
| |
| |||
4892 | 4878 |
| |
4893 | 4879 |
| |
4894 | 4880 |
| |
| 4881 | + | |
4895 | 4882 |
| |
4896 | 4883 |
| |
4897 | 4884 |
| |
| |||
4909 | 4896 |
| |
4910 | 4897 |
| |
4911 | 4898 |
| |
4912 |
| - | |
| 4899 | + | |
4913 | 4900 |
| |
4914 | 4901 |
| |
4915 | 4902 |
| |
| |||
4922 | 4909 |
| |
4923 | 4910 |
| |
4924 | 4911 |
| |
4925 |
| - | |
| 4912 | + | |
4926 | 4913 |
| |
4927 | 4914 |
| |
4928 | 4915 |
| |
4929 | 4916 |
| |
4930 | 4917 |
| |
4931 | 4918 |
| |
4932 | 4919 |
| |
4933 |
| - | |
| 4920 | + | |
4934 | 4921 |
| |
4935 | 4922 |
| |
4936 | 4923 |
| |
| |||
5379 | 5366 |
| |
5380 | 5367 |
| |
5381 | 5368 |
| |
5382 |
| - | |
5383 |
| - | |
| 5369 | + | |
5384 | 5370 |
| |
5385 | 5371 |
| |
5386 | 5372 |
| |
| 5373 | + | |
| 5374 | + | |
| 5375 | + | |
| 5376 | + | |
| 5377 | + | |
5387 | 5378 |
| |
5388 | 5379 |
| |
5389 | 5380 |
| |
| |||
6774 | 6765 |
| |
6775 | 6766 |
| |
6776 | 6767 |
| |
6777 |
| - | |
6778 |
| - | |
| 6768 | + | |
| 6769 | + | |
6779 | 6770 |
| |
6780 | 6771 |
| |
6781 | 6772 |
| |
|
src/harness/fourslashInterfaceImpl.ts
Copy file name to clipboardExpand all lines: src/harness/fourslashInterfaceImpl.ts+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1065 | 1065 |
| |
1066 | 1066 |
| |
1067 | 1067 |
| |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
1068 | 1072 |
| |
1069 | 1073 |
| |
1070 | 1074 |
| |
|
+20Lines changed: 20 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1508 | 1508 |
| |
1509 | 1509 |
| |
1510 | 1510 |
| |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
1511 | 1531 |
| |
1512 | 1532 |
| |
1513 | 1533 |
| |
|
You can’t perform that action at this time.
0 commit comments