CARVIEW |
Select Language
HTTP/2 200
date: Fri, 18 Jul 2025 23:01:53 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/"8aa7de883252dcfd7ec5d5c9d2cb930d"
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=iauf32OZ0m45qoIWUE64AhSuxfHTynjChuomt2aImADqizBwGqNsrW14l3eVohN2vKEG6HC7Z5yomYIZBOC9RJXwnAejDCufsQ1kdHdxZUKzp6slr%2BfHcMUkTcZJTfiYl3xm1R5ogcDojCw7IkD7E2y8XqwiiMXBcjWinXUr2WO%2FRhMUQEnyw0e%2F5nEq4qcwLKlGLLQTyUygZrlSnyJNncq%2BCD06NoAa59Hs56Iin7RKGIlRO4V3AfNKpSJJHnsR5bHXNRzOK8wVp1iJLfQCgA%3D%3D--gm4msgePdjEHzXPx--GybZPfK9shkGXAymnmvsSQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.838905548.1752879712; Path=/; Domain=github.com; Expires=Sat, 18 Jul 2026 23:01:52 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 18 Jul 2026 23:01:52 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B2E8:2DAD44:1F5C76:2A544D:687AD260
Template literal types for contextually typed template literal expres… · microsoft/TypeScript@a26acf4 · GitHub
Copy file name to clipboard
Copy file name to clipboardExpand all lines: tests/baselines/reference/stringLiteralTypesWithTemplateStrings02.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/templateLiteralTypes1.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/templateLiteralTypes2.errors.txt
Copy file name to clipboardExpand all lines: tests/baselines/reference/templateLiteralTypes2.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/templateLiteralTypes2.symbols
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit a26acf4
authored
File tree
Expand file treeCollapse file tree
9 files changed
+199
-87
lines changedFilter options
- src/compiler
- tests
- baselines/reference
- cases/conformance/types/literal
Expand file treeCollapse file tree
9 files changed
+199
-87
lines changed+6-1Lines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
31824 | 31824 |
| |
31825 | 31825 |
| |
31826 | 31826 |
| |
31827 |
| - | |
| 31827 | + | |
| 31828 | + | |
| 31829 | + | |
| 31830 | + | |
| 31831 | + | |
| 31832 | + | |
31828 | 31833 |
| |
31829 | 31834 |
| |
31830 | 31835 |
| |
|
tests/baselines/reference/stringLiteralTypesWithTemplateStrings02.errors.txt
Copy file name to clipboard+2-5Lines changed: 2 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
3 | 2 |
| |
4 | 3 |
| |
5 |
| - | |
| 4 | + | |
6 | 5 |
| |
7 | 6 |
| |
8 | 7 |
| |
9 | 8 |
| |
10 |
| - | |
11 |
| - | |
12 |
| - | |
| 9 | + |
tests/baselines/reference/stringLiteralTypesWithTemplateStrings02.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/stringLiteralTypesWithTemplateStrings02.types+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
|
tests/baselines/reference/templateLiteralTypes1.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/templateLiteralTypes1.types+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
|
tests/baselines/reference/templateLiteralTypes2.errors.txt
Copy file name to clipboardExpand all lines: tests/baselines/reference/templateLiteralTypes2.errors.txt+15-22Lines changed: 15 additions & 22 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 |
| - | |
3 |
| - | |
4 |
| - | |
5 |
| - | |
6 | 1 |
| |
7 | 2 |
| |
8 | 3 |
| |
9 |
| - | |
10 | 4 |
| |
11 | 5 |
| |
12 | 6 |
| |
13 | 7 |
| |
14 |
| - | |
15 | 8 |
| |
16 | 9 |
| |
17 |
| - | |
| 10 | + | |
18 | 11 |
| |
19 | 12 |
| |
20 | 13 |
| |
21 | 14 |
| |
22 | 15 |
| |
23 | 16 |
| |
24 |
| - | |
25 |
| - | |
26 | 17 |
| |
27 |
| - | |
28 |
| - | |
29 | 18 |
| |
30 |
| - | |
31 |
| - | |
32 | 19 |
| |
33 |
| - | |
34 |
| - | |
35 | 20 |
| |
36 | 21 |
| |
37 | 22 |
| |
| |||
44 | 29 |
| |
45 | 30 |
| |
46 | 31 |
| |
47 |
| - | |
48 |
| - | |
49 | 32 |
| |
50 | 33 |
| |
51 | 34 |
| |
| |||
74 | 57 |
| |
75 | 58 |
| |
76 | 59 |
| |
77 |
| - | |
78 |
| - | |
79 | 60 |
| |
80 | 61 |
| |
81 | 62 |
| |
| |||
113 | 94 |
| |
114 | 95 |
| |
115 | 96 |
| |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
116 | 105 |
| |
117 | 106 |
| |
118 | 107 |
| |
| |||
139 | 128 |
| |
140 | 129 |
| |
141 | 130 |
| |
142 |
| - | |
143 |
| - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
144 | 137 |
|
tests/baselines/reference/templateLiteralTypes2.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/templateLiteralTypes2.js+28-2Lines changed: 28 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
71 | 71 |
| |
72 | 72 |
| |
73 | 73 |
| |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
74 | 82 |
| |
75 | 83 |
| |
76 | 84 |
| |
| |||
97 | 105 |
| |
98 | 106 |
| |
99 | 107 |
| |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
100 | 114 |
| |
101 | 115 |
| |
102 | 116 |
| |
| |||
161 | 175 |
| |
162 | 176 |
| |
163 | 177 |
| |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
164 | 182 |
| |
165 | 183 |
| |
166 | 184 |
| |
| |||
172 | 190 |
| |
173 | 191 |
| |
174 | 192 |
| |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
175 | 197 |
| |
176 | 198 |
| |
177 | 199 |
| |
| |||
185 | 207 |
| |
186 | 208 |
| |
187 | 209 |
| |
| 210 | + | |
| 211 | + | |
| 212 | + | |
188 | 213 |
| |
189 | 214 |
| |
190 | 215 |
| |
191 | 216 |
| |
192 | 217 |
| |
193 |
| - | |
| 218 | + | |
194 | 219 |
| |
195 | 220 |
| |
196 | 221 |
| |
197 |
| - | |
| 222 | + | |
198 | 223 |
| |
199 | 224 |
| |
200 | 225 |
| |
201 | 226 |
| |
| 227 | + |
tests/baselines/reference/templateLiteralTypes2.symbols
Copy file name to clipboardExpand all lines: tests/baselines/reference/templateLiteralTypes2.symbols+72-33Lines changed: 72 additions & 33 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
257 | 257 |
| |
258 | 258 |
| |
259 | 259 |
| |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
260 | 289 |
| |
261 | 290 |
| |
262 | 291 |
| |
263 |
| - | |
264 |
| - | |
265 |
| - | |
266 |
| - | |
267 |
| - | |
268 |
| - | |
269 |
| - | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
270 | 299 |
| |
271 | 300 |
| |
272 |
| - | |
273 |
| - | |
| 301 | + | |
| 302 | + | |
274 | 303 |
| |
275 | 304 |
| |
276 |
| - | |
| 305 | + | |
277 | 306 |
| |
278 | 307 |
| |
279 |
| - | |
280 |
| - | |
281 |
| - | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
282 | 311 |
| |
283 | 312 |
| |
284 |
| - | |
| 313 | + | |
285 | 314 |
| |
286 | 315 |
| |
287 |
| - | |
288 |
| - | |
289 |
| - | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
290 | 319 |
| |
291 | 320 |
| |
292 |
| - | |
293 |
| - | |
| 321 | + | |
| 322 | + | |
294 | 323 |
| |
295 | 324 |
| |
296 |
| - | |
297 |
| - | |
298 |
| - | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
299 | 328 |
| |
300 | 329 |
| |
301 |
| - | |
| 330 | + | |
302 | 331 |
| |
303 | 332 |
| |
304 |
| - | |
305 |
| - | |
306 |
| - | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
307 | 336 |
| |
308 | 337 |
| |
309 | 338 |
| |
310 | 339 |
| |
311 |
| - | |
| 340 | + | |
312 | 341 |
| |
313 | 342 |
| |
314 |
| - | |
| 343 | + | |
315 | 344 |
| |
316 | 345 |
| |
317 |
| - | |
318 |
| - | |
| 346 | + | |
| 347 | + | |
319 | 348 |
| |
320 | 349 |
| |
321 |
| - | |
322 |
| - | |
323 |
| - | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
324 | 363 |
|
You can’t perform that action at this time.
0 commit comments