CARVIEW |
Select Language
HTTP/2 200
date: Fri, 18 Jul 2025 12:12:04 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/"5188ba333b50febc9e0fd6c3ab81f772"
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=7Qha5CJ4%2FwtWkD%2FRmCeFZfMbSmcIcTK0K1Y3O%2BKNSoywuBRjqm2hrypMmWWkogj3CATgfBLy19XmPSeXdQNClCvNHp7LSGvQvww2Zslmi0dVFYWY3RHtQwVoCXAeM6a2r7uQIzMcrUIy6ecvLWu6x6vA5%2FZpcq0HML3Lhn9TSQ9PHsX0ont1SEaiQ5JHuHea5FMEAcHoZhOR82nXvbuFBmPo0gw%2F4qpVR7xuhSkI8oBaj%2FCgZmKJ2gYdyPI%2FngJtNbP8vqs2yRF2Ya0sfTQsaA%3D%3D--GGIB8vR0SKN03COq--9uuSwPADAGtH71Ata5Ysrg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1992863623.1752840722; Path=/; Domain=github.com; Expires=Sat, 18 Jul 2026 12:12:02 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 18 Jul 2026 12:12:02 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8F22:2D7078:E6A590:1139EC8:687A3A12
Add __spreadArrays helper (#31166) · microsoft/TypeScript@375487e · GitHub
Copy file name to clipboardExpand all lines: src/compiler/transformers/es2015.ts
Copy file name to clipboardExpand all lines: tests/baselines/reference/argumentExpressionContextualTyping.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/arrayLiteralExpressionContextualTyping.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/arrayLiteralSpread.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/arrayLiterals2ES5.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/arrayLiterals3.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/callOverload.js
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit 375487e
File tree
Expand file treeCollapse file tree
33 files changed
+465
-240
lines changedFilter options
- src/compiler
- transformers
- tests/baselines/reference
Expand file treeCollapse file tree
33 files changed
+465
-240
lines changed+3-2Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19080 | 19080 |
| |
19081 | 19081 |
| |
19082 | 19082 |
| |
19083 |
| - | |
19084 |
| - | |
| 19083 | + | |
| 19084 | + | |
19085 | 19085 |
| |
19086 | 19086 |
| |
19087 | 19087 |
| |
| |||
31104 | 31104 |
| |
31105 | 31105 |
| |
31106 | 31106 |
| |
| 31107 | + | |
31107 | 31108 |
| |
31108 | 31109 |
| |
31109 | 31110 |
| |
|
+26Lines changed: 26 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2657 | 2657 |
| |
2658 | 2658 |
| |
2659 | 2659 |
| |
| 2660 | + | |
2660 | 2661 |
| |
2661 | 2662 |
| |
2662 | 2663 |
| |
| |||
3693 | 3694 |
| |
3694 | 3695 |
| |
3695 | 3696 |
| |
| 3697 | + | |
| 3698 | + | |
| 3699 | + | |
| 3700 | + | |
| 3701 | + | |
| 3702 | + | |
| 3703 | + | |
| 3704 | + | |
| 3705 | + | |
| 3706 | + | |
| 3707 | + | |
| 3708 | + | |
| 3709 | + | |
| 3710 | + | |
| 3711 | + | |
| 3712 | + | |
| 3713 | + | |
| 3714 | + | |
| 3715 | + | |
| 3716 | + | |
| 3717 | + | |
| 3718 | + | |
| 3719 | + | |
| 3720 | + | |
| 3721 | + | |
3696 | 3722 |
| |
3697 | 3723 |
| |
3698 | 3724 |
| |
|
src/compiler/transformers/es2015.ts
Copy file name to clipboardExpand all lines: src/compiler/transformers/es2015.ts+27-11Lines changed: 27 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3819 | 3819 |
| |
3820 | 3820 |
| |
3821 | 3821 |
| |
| 3822 | + | |
| 3823 | + | |
| 3824 | + | |
3822 | 3825 |
| |
3823 |
| - | |
| 3826 | + | |
3824 | 3827 |
| |
3825 | 3828 |
| |
3826 | 3829 |
| |
| |||
3834 | 3837 |
| |
3835 | 3838 |
| |
3836 | 3839 |
| |
3837 |
| - | |
3838 |
| - | |
3839 |
| - | |
3840 |
| - | |
| 3840 | + | |
3841 | 3841 |
| |
3842 | 3842 |
| |
3843 | 3843 |
| |
| |||
3846 | 3846 |
| |
3847 | 3847 |
| |
3848 | 3848 |
| |
3849 |
| - | |
3850 |
| - | |
3851 |
| - | |
3852 |
| - | |
| 3849 | + | |
| 3850 | + | |
| 3851 | + | |
| 3852 | + | |
| 3853 | + | |
| 3854 | + | |
3853 | 3855 |
| |
3854 | 3856 |
| |
3855 |
| - | |
3856 |
| - | |
| 3857 | + | |
3857 | 3858 |
| |
3858 | 3859 |
| |
3859 | 3860 |
| |
| 3861 | + | |
| 3862 | + | |
| 3863 | + | |
| 3864 | + | |
| 3865 | + | |
| 3866 | + | |
| 3867 | + | |
| 3868 | + | |
| 3869 | + | |
| 3870 | + | |
| 3871 | + | |
| 3872 | + | |
| 3873 | + | |
| 3874 | + | |
| 3875 | + | |
3860 | 3876 |
| |
3861 | 3877 |
| |
3862 | 3878 |
| |
|
+7-6Lines changed: 7 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5339 | 5339 |
| |
5340 | 5340 |
| |
5341 | 5341 |
| |
5342 |
| - | |
5343 |
| - | |
5344 |
| - | |
5345 |
| - | |
5346 |
| - | |
5347 |
| - | |
| 5342 | + | |
| 5343 | + | |
| 5344 | + | |
| 5345 | + | |
| 5346 | + | |
| 5347 | + | |
| 5348 | + | |
5348 | 5349 |
| |
5349 | 5350 |
| |
5350 | 5351 |
| |
|
tests/baselines/reference/argumentExpressionContextualTyping.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/argumentExpressionContextualTyping.js+8-1Lines changed: 8 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
22 | 29 |
| |
23 | 30 |
| |
24 | 31 |
| |
| |||
36 | 43 |
| |
37 | 44 |
| |
38 | 45 |
| |
39 |
| - | |
| 46 | + | |
40 | 47 |
|
tests/baselines/reference/arrayLiteralExpressionContextualTyping.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/arrayLiteralExpressionContextualTyping.js+10-3Lines changed: 10 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
19 | 26 |
| |
20 | 27 |
| |
21 | 28 |
| |
| |||
26 | 33 |
| |
27 | 34 |
| |
28 | 35 |
| |
29 |
| - | |
30 |
| - | |
31 |
| - | |
| 36 | + | |
| 37 | + | |
| 38 | + |
tests/baselines/reference/arrayLiteralSpread.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/arrayLiteralSpread.js+16-9Lines changed: 16 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
27 | 34 |
| |
28 | 35 |
| |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
37 | 44 |
| |
38 | 45 |
| |
39 | 46 |
| |
40 |
| - | |
| 47 | + | |
41 | 48 |
| |
42 | 49 |
| |
43 | 50 |
| |
|
tests/baselines/reference/arrayLiterals2ES5.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/arrayLiterals2ES5.js+20-13Lines changed: 20 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
62 | 62 |
| |
63 | 63 |
| |
64 | 64 |
| |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
65 | 72 |
| |
66 | 73 |
| |
67 | 74 |
| |
68 | 75 |
| |
69 |
| - | |
70 |
| - | |
| 76 | + | |
| 77 | + | |
71 | 78 |
| |
72 |
| - | |
| 79 | + | |
73 | 80 |
| |
74 | 81 |
| |
75 | 82 |
| |
| |||
92 | 99 |
| |
93 | 100 |
| |
94 | 101 |
| |
95 |
| - | |
96 |
| - | |
97 |
| - | |
98 |
| - | |
99 |
| - | |
100 |
| - | |
101 |
| - | |
102 |
| - | |
103 |
| - | |
104 |
| - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + |
tests/baselines/reference/arrayLiterals3.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/arrayLiterals3.js+10-3Lines changed: 10 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
43 | 50 |
| |
44 | 51 |
| |
45 | 52 |
| |
| |||
55 | 62 |
| |
56 | 63 |
| |
57 | 64 |
| |
58 |
| - | |
59 |
| - | |
60 |
| - | |
| 65 | + | |
| 66 | + | |
| 67 | + |
tests/baselines/reference/callOverload.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/callOverload.js+8-1Lines changed: 8 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
15 | 22 |
| |
16 | 23 |
| |
17 | 24 |
| |
18 | 25 |
| |
19 |
| - | |
| 26 | + | |
20 | 27 |
| |
21 | 28 |
|
You can’t perform that action at this time.
0 commit comments