CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 05:40:48 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/"167d143d4aa179adb832ffb92dccf35e"
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=KLIou9V062Moc4s9MAXQEFUQ44V7Ej2A%2BZaJWW3K5xEWYniKq16Oo5jCSjud72Gh%2FmrP9n15CZC5y1BZl36Dr7liUMiRlXsO3G4Qf3Vd%2FbSOetjo7BIVA0oxkSrgeKvWwHhq5eG5wBk1BOBvFTniWr%2F0zslp2khVcFWpBwllk8YX39Hp283BkAjaRlDzdHwN6ldaS9A1Y8CV%2BmegfVPZoKCSRH%2FKDolaCxoYtnLK9EdCkzeY0D9AVDd4oFvXr2mEo8vXduMkDl60Bg4uJgSAfw%3D%3D--s7kE%2F%2Bslzot1w9%2Fh--cSUrBkugqvg2HdbMNxw3Yg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.878313797.1752903645; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 05:40:45 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 05:40:45 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: EE24:67A53:12F4BE:191BE2:687B2FDD
Template literal types for template literal expressions (#41891) · microsoft/TypeScript@ee1f262 · GitHub
Dismiss banner
Copy file name to clipboard
Copy file name to clipboardExpand all lines: tests/baselines/reference/accessorsOverrideProperty2.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/api/tsserverlibrary.d.ts
Copy file name to clipboardExpand all lines: tests/baselines/reference/api/typescript.d.ts
Copy file name to clipboardExpand all lines: tests/baselines/reference/asOperator3.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/checkJsObjectLiteralIndexSignatures.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/computedPropertyNames10_ES5.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/computedPropertyNames10_ES6.types
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit ee1f262
authored
Template literal types for template literal expressions (#41891)
* Infer template literal types for template literal expressions
* Update test
* Update another test
* Accept new baselines
* Minor fixes
* Add tests
* Accept new baselines
* Make new TypeFlags internal
* Accept new API baselines
* Ensure template literals assignable to String, Object, {}, etc.
* Add tests1 parent 78ded65 commit ee1f262Copy full SHA for ee1f262
File tree
Expand file treeCollapse file tree
212 files changed
+2088
-1016
lines changedFilter options
- src/compiler
- tests
- baselines/reference
- api
- cases/conformance
- dynamicImport
- types/literal
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Expand file treeCollapse file tree
212 files changed
+2088
-1016
lines changed+35-28Lines changed: 35 additions & 28 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13187 | 13187 |
| |
13188 | 13188 |
| |
13189 | 13189 |
| |
13190 |
| - | |
| 13190 | + | |
13191 | 13191 |
| |
13192 | 13192 |
| |
13193 | 13193 |
| |
| |||
13234 | 13234 |
| |
13235 | 13235 |
| |
13236 | 13236 |
| |
13237 |
| - | |
| 13237 | + | |
13238 | 13238 |
| |
13239 | 13239 |
| |
13240 | 13240 |
| |
| |||
13765 | 13765 |
| |
13766 | 13766 |
| |
13767 | 13767 |
| |
| 13768 | + | |
13768 | 13769 |
| |
13769 | 13770 |
| |
13770 | 13771 |
| |
| |||
14803 | 14804 |
| |
14804 | 14805 |
| |
14805 | 14806 |
| |
14806 |
| - | |
14807 |
| - | |
14808 |
| - | |
14809 |
| - | |
| 14807 | + | |
| 14808 | + | |
| 14809 | + | |
| 14810 | + | |
| 14811 | + | |
| 14812 | + | |
14810 | 14813 |
| |
14811 |
| - | |
| 14814 | + | |
14812 | 14815 |
| |
14813 |
| - | |
| 14816 | + | |
14814 | 14817 |
| |
14815 | 14818 |
| |
14816 | 14819 |
| |
14817 | 14820 |
| |
14818 | 14821 |
| |
14819 |
| - | |
| 14822 | + | |
14820 | 14823 |
| |
14821 | 14824 |
| |
14822 | 14825 |
| |
14823 | 14826 |
| |
14824 | 14827 |
| |
14825 |
| - | |
| 14828 | + | |
14826 | 14829 |
| |
14827 | 14830 |
| |
14828 | 14831 |
| |
| |||
17694 | 17697 |
| |
17695 | 17698 |
| |
17696 | 17699 |
| |
17697 |
| - | |
17698 |
| - | |
17699 |
| - | |
17700 |
| - | |
17701 |
| - | |
17702 |
| - | |
| 17700 | + | |
| 17701 | + | |
| 17702 | + | |
| 17703 | + | |
| 17704 | + | |
| 17705 | + | |
| 17706 | + | |
17703 | 17707 |
| |
17704 |
| - | |
17705 |
| - | |
17706 |
| - | |
17707 |
| - | |
| 17708 | + | |
| 17709 | + | |
| 17710 | + | |
| 17711 | + | |
| 17712 | + | |
| 17713 | + | |
17708 | 17714 |
| |
17709 | 17715 |
| |
17710 | 17716 |
| |
| |||
19181 | 19187 |
| |
19182 | 19188 |
| |
19183 | 19189 |
| |
19184 |
| - | |
| 19190 | + | |
19185 | 19191 |
| |
19186 | 19192 |
| |
19187 | 19193 |
| |
| |||
19191 | 19197 |
| |
19192 | 19198 |
| |
19193 | 19199 |
| |
19194 |
| - | |
| 19200 | + | |
19195 | 19201 |
| |
19196 | 19202 |
| |
19197 | 19203 |
| |
| |||
20692 | 20698 |
| |
20693 | 20699 |
| |
20694 | 20700 |
| |
20695 |
| - | |
| 20701 | + | |
20696 | 20702 |
| |
20697 | 20703 |
| |
20698 | 20704 |
| |
| |||
30837 | 30843 |
| |
30838 | 30844 |
| |
30839 | 30845 |
| |
30840 |
| - | |
| 30846 | + | |
30841 | 30847 |
| |
30842 | 30848 |
| |
30843 | 30849 |
| |
| |||
30858 | 30864 |
| |
30859 | 30865 |
| |
30860 | 30866 |
| |
30861 |
| - | |
| 30867 | + | |
30862 | 30868 |
| |
30863 | 30869 |
| |
30864 | 30870 |
| |
| |||
30948 | 30954 |
| |
30949 | 30955 |
| |
30950 | 30956 |
| |
30951 |
| - | |
| 30957 | + | |
30952 | 30958 |
| |
30953 | 30959 |
| |
30954 | 30960 |
| |
30955 | 30961 |
| |
30956 | 30962 |
| |
30957 | 30963 |
| |
30958 | 30964 |
| |
30959 |
| - | |
| 30965 | + | |
30960 | 30966 |
| |
30961 | 30967 |
| |
30962 | 30968 |
| |
| |||
38482 | 38488 |
| |
38483 | 38489 |
| |
38484 | 38490 |
| |
38485 |
| - | |
| 38491 | + | |
| 38492 | + | |
38486 | 38493 |
| |
38487 | 38494 |
| |
38488 | 38495 |
| |
|
+9-1Lines changed: 9 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4970 | 4970 |
| |
4971 | 4971 |
| |
4972 | 4972 |
| |
| 4973 | + | |
| 4974 | + | |
| 4975 | + | |
| 4976 | + | |
4973 | 4977 |
| |
4974 | 4978 |
| |
4975 | 4979 |
| |
| |||
5063 | 5067 |
| |
5064 | 5068 |
| |
5065 | 5069 |
| |
5066 |
| - | |
| 5070 | + | |
| 5071 | + | |
| 5072 | + | |
5067 | 5073 |
| |
5068 | 5074 |
| |
5069 | 5075 |
| |
| |||
5461 | 5467 |
| |
5462 | 5468 |
| |
5463 | 5469 |
| |
| 5470 | + | |
| 5471 | + | |
5464 | 5472 |
| |
5465 | 5473 |
| |
5466 | 5474 |
| |
|
tests/baselines/reference/TemplateExpression1.types
Copy file name to clipboard+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
| 4 | + | |
5 | 5 |
| |
6 | 6 |
|
tests/baselines/reference/accessorsOverrideProperty2.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/accessorsOverrideProperty2.types+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
| 25 | + | |
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
|
tests/baselines/reference/api/tsserverlibrary.d.ts
Copy file name to clipboardExpand all lines: tests/baselines/reference/api/tsserverlibrary.d.ts+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2653 | 2653 |
| |
2654 | 2654 |
| |
2655 | 2655 |
| |
| 2656 | + | |
| 2657 | + | |
2656 | 2658 |
| |
2657 | 2659 |
| |
2658 | 2660 |
| |
|
tests/baselines/reference/api/typescript.d.ts
Copy file name to clipboardExpand all lines: tests/baselines/reference/api/typescript.d.ts+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2653 | 2653 |
| |
2654 | 2654 |
| |
2655 | 2655 |
| |
| 2656 | + | |
| 2657 | + | |
2656 | 2658 |
| |
2657 | 2659 |
| |
2658 | 2660 |
| |
|
tests/baselines/reference/asOperator3.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/asOperator3.types+6-6Lines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
| 8 | + | |
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
| 24 | + | |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
46 |
| - | |
| 46 | + | |
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
54 |
| - | |
| 54 | + | |
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
|
tests/baselines/reference/checkJsObjectLiteralIndexSignatures.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/checkJsObjectLiteralIndexSignatures.types+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
|
tests/baselines/reference/computedPropertyNames10_ES5.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/computedPropertyNames10_ES5.types+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
63 |
| - | |
| 63 | + | |
64 | 64 |
| |
65 | 65 |
|
tests/baselines/reference/computedPropertyNames10_ES6.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/computedPropertyNames10_ES6.types+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
63 |
| - | |
| 63 | + | |
64 | 64 |
| |
65 | 65 |
|
You can’t perform that action at this time.
0 commit comments