CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 14:36:06 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/"16c059a73d065c24e98948650f5afa26"
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=MGgW3FQPRPQQpQ2PYCAV6dm5UF38tbDxA07QXEZ8u4FGoaMhdycUOnAhfJeD6GspYTHftMJyH%2FTe9YLZ6lsJ2KI3nBjdA6QTS%2Bkqm9EHkAl8i8wqFfnG1l0gjOJKXTgebyqWqyYzTV8UBnPVbzU8rqF8qdpFCcq1X9yGySLr%2BjeAKQ1mMnk9QoKgshp5v2wlaXf53cPXHAe%2BIWiVqauxWYCvEZHoGs%2FGyIduYAxVaHpJ8ii86moDFC1pipB2vhaiFOPTmfnH6%2BtkI7C8zG9kGw%3D%3D--rFHrYoRVneYhmkTz--4eNGR5KzQu6DNqsKaQALOw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1458850828.1752935763; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 14:36:03 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 14:36:03 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 908A:249704:5A32A7:710974:687BAD53
Leading and middle rest elements in tuple types (#41544) · microsoft/TypeScript@9b17186 · GitHub
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json
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/for-of39.errors.txt
Copy file name to clipboardExpand all lines: tests/baselines/reference/genericRestParameters2.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/genericRestParameters3.errors.txt
Copy file name to clipboardExpand all lines: tests/baselines/reference/iterableArrayPattern28.errors.txt
Copy file name to clipboardExpand all lines: tests/baselines/reference/optionalTupleElements1.errors.txt
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit 9b17186
authored
Leading and middle rest elements in tuple types (#41544)
* Support starting and middle rest elements in tuples
* Accept new baselines
* Include all rest arguments in error span
* Accept new baselines
* Fix tests
* Add new tests
* Fix lint errors1 parent 72dfc58 commit 9b17186Copy full SHA for 9b17186
File tree
Expand file treeCollapse file tree
24 files changed
+2339
-629
lines changedFilter options
- src/compiler
- tests
- baselines/reference
- api
- cases/conformance/types/tuple
Expand file treeCollapse file tree
24 files changed
+2339
-629
lines changed+139-111Lines changed: 139 additions & 111 deletions
Large diffs are not rendered by default.
src/compiler/diagnosticMessages.json
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json+26-6Lines changed: 26 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
843 | 843 |
| |
844 | 844 |
| |
845 | 845 |
| |
846 |
| - | |
847 |
| - | |
848 |
| - | |
849 |
| - | |
850 | 846 |
| |
851 | 847 |
| |
852 | 848 |
| |
| |||
875 | 871 |
| |
876 | 872 |
| |
877 | 873 |
| |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
878 | 882 |
| |
879 | 883 |
| |
880 | 884 |
| |
| |||
2621 | 2625 |
| |
2622 | 2626 |
| |
2623 | 2627 |
| |
2624 |
| - | |
| 2628 | + | |
| 2629 | + | |
| 2630 | + | |
| 2631 | + | |
| 2632 | + | |
| 2633 | + | |
| 2634 | + | |
| 2635 | + | |
| 2636 | + | |
| 2637 | + | |
| 2638 | + | |
| 2639 | + | |
| 2640 | + | |
| 2641 | + | |
| 2642 | + | |
| 2643 | + | |
| 2644 | + | |
2625 | 2645 |
| |
2626 |
| - | |
| 2646 | + | |
2627 | 2647 |
| |
2628 | 2648 |
| |
2629 | 2649 |
| |
|
+11-8Lines changed: 11 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5251 | 5251 |
| |
5252 | 5252 |
| |
5253 | 5253 |
| |
5254 |
| - | |
5255 |
| - | |
5256 |
| - | |
5257 |
| - | |
5258 |
| - | |
| 5254 | + | |
| 5255 | + | |
| 5256 | + | |
| 5257 | + | |
| 5258 | + | |
| 5259 | + | |
| 5260 | + | |
| 5261 | + | |
5259 | 5262 |
| |
5260 | 5263 |
| |
5261 | 5264 |
| |
5262 | 5265 |
| |
5263 |
| - | |
5264 |
| - | |
5265 |
| - | |
| 5266 | + | |
| 5267 | + | |
| 5268 | + | |
5266 | 5269 |
| |
5267 | 5270 |
| |
5268 | 5271 |
| |
|
tests/baselines/reference/api/tsserverlibrary.d.ts
Copy file name to clipboardExpand all lines: tests/baselines/reference/api/tsserverlibrary.d.ts+4-1Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2591 | 2591 |
| |
2592 | 2592 |
| |
2593 | 2593 |
| |
2594 |
| - | |
| 2594 | + | |
| 2595 | + | |
| 2596 | + | |
| 2597 | + | |
2595 | 2598 |
| |
2596 | 2599 |
| |
2597 | 2600 |
| |
|
tests/baselines/reference/api/typescript.d.ts
Copy file name to clipboardExpand all lines: tests/baselines/reference/api/typescript.d.ts+4-1Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2591 | 2591 |
| |
2592 | 2592 |
| |
2593 | 2593 |
| |
2594 |
| - | |
| 2594 | + | |
| 2595 | + | |
| 2596 | + | |
| 2597 | + | |
2595 | 2598 |
| |
2596 | 2599 |
| |
2597 | 2600 |
| |
|
tests/baselines/reference/for-of39.errors.txt
Copy file name to clipboardExpand all lines: tests/baselines/reference/for-of39.errors.txt+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 |
| - | |
| 28 | + | |
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
|
tests/baselines/reference/genericRestParameters2.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/genericRestParameters2.types+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
408 | 408 |
| |
409 | 409 |
| |
410 | 410 |
| |
411 |
| - | |
| 411 | + | |
412 | 412 |
| |
413 | 413 |
| |
414 | 414 |
| |
|
tests/baselines/reference/genericRestParameters3.errors.txt
Copy file name to clipboardExpand all lines: tests/baselines/reference/genericRestParameters3.errors.txt+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
114 | 114 |
| |
115 | 115 |
| |
116 | 116 |
| |
117 |
| - | |
| 117 | + | |
118 | 118 |
| |
119 | 119 |
| |
120 | 120 |
| |
| |||
133 | 133 |
| |
134 | 134 |
| |
135 | 135 |
| |
136 |
| - | |
| 136 | + | |
137 | 137 |
| |
138 | 138 |
| |
139 | 139 |
| |
|
tests/baselines/reference/iterableArrayPattern28.errors.txt
Copy file name to clipboardExpand all lines: tests/baselines/reference/iterableArrayPattern28.errors.txt+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
| 29 | + | |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
|
tests/baselines/reference/optionalTupleElements1.errors.txt
Copy file name to clipboardExpand all lines: tests/baselines/reference/optionalTupleElements1.errors.txt+12-12Lines changed: 12 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
4 | 4 |
| |
5 |
| - | |
| 5 | + | |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
36 |
| - | |
| 36 | + | |
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
| 40 | + | |
41 | 41 |
| |
42 | 42 |
| |
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 |
| |
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
61 |
| - | |
| 61 | + | |
62 | 62 |
| |
63 | 63 |
| |
64 | 64 |
| |
|
You can’t perform that action at this time.
0 commit comments