CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 00:33: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/"412733fa6219d587c1d8cd8ea73d4527"
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=aZtBpfADf%2FF%2BCYfc%2B4m5os%2F9LakJkjQIM%2B4udtZpKSWvJcOWfkTl5zXNr0joXw7%2BsS2c3mCmoUrCgX248FUZfCXqQfelIeUXUqdCwjDIoL20CCP2g%2F1CIaZ3uFpXTle9BDfy8mJtwUCeVRtJ%2BKhmXj8FEC0mFlDaRZ%2BS9X3zMSw80oaD4xnXXlQZes8BmV0%2FIxcoLm05ZyhTx%2BAMTl1KXJ69PwbA7KIESJRLP8JFKr8gnmqrHu%2FQHoXy3SI2wGR4Lv%2FYyis6E5%2BNnSW%2FHGJVUQ%3D%3D--Wi9MEdx3zHJIdTHn--kOsTiuv6Tw0%2BU8FpdBnahQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.465617417.1752885225; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 00:33:45 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 00:33:45 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C7D8:3A991D:246AE0:324A96:687AE7E9
Add support for abstract constructor types (#36392) · microsoft/TypeScript@0d284e6 · 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/compiler/transformers/declarations.ts
Copy file name to clipboardExpand all lines: src/compiler/visitorPublic.ts
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit 0d284e6
authored
Add support for abstract constructor types (#36392)
* Add support for abstract constructor types
* Add backwards-compatible overloads for creating/updating constructor types
* Reverting use of 'abstract' in lib/es5.d.ts due to eslint issues
* Update baseline due to reverting lib
* Add error for failing to mark an mixin class as abstract
* Fix declaration/quick info for abstract construct signatures1 parent 3273dbc commit 0d284e6Copy full SHA for 0d284e6
File tree
Expand file treeCollapse file tree
40 files changed
+1510
-503
lines changedFilter options
- src
- compiler
- factory
- transformers
- deprecatedCompat
- services
- tests
- baselines/reference
- api
- cases/conformance
- classes
- types
- conditional
- union
Expand file treeCollapse file tree
40 files changed
+1510
-503
lines changed+95-22Lines changed: 95 additions & 22 deletions
Large diffs are not rendered by default.
+9Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
367 | 367 |
| |
368 | 368 |
| |
369 | 369 |
| |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
370 | 374 |
| |
371 | 375 |
| |
372 | 376 |
| |
| |||
573 | 577 |
| |
574 | 578 |
| |
575 | 579 |
| |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
576 | 585 |
| |
577 | 586 |
| |
578 | 587 |
| |
|
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 | |
---|---|---|---|
| |||
3231 | 3231 |
| |
3232 | 3232 |
| |
3233 | 3233 |
| |
| 3234 | + | |
| 3235 | + | |
| 3236 | + | |
| 3237 | + | |
3234 | 3238 |
| |
3235 | 3239 |
| |
3236 | 3240 |
| |
|
+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2131 | 2131 |
| |
2132 | 2132 |
| |
2133 | 2133 |
| |
| 2134 | + | |
2134 | 2135 |
| |
2135 | 2136 |
| |
2136 | 2137 |
| |
|
src/compiler/factory/nodeFactory.ts
Copy file name to clipboardExpand all lines: src/compiler/factory/nodeFactory.ts+39-5Lines changed: 39 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1700 | 1700 |
| |
1701 | 1701 |
| |
1702 | 1702 |
| |
1703 |
| - | |
| 1703 | + | |
| 1704 | + | |
| 1705 | + | |
| 1706 | + | |
| 1707 | + | |
| 1708 | + | |
| 1709 | + | |
| 1710 | + | |
1704 | 1711 |
| |
1705 | 1712 |
| |
1706 | 1713 |
| |
1707 | 1714 |
| |
1708 | 1715 |
| |
1709 | 1716 |
| |
1710 | 1717 |
| |
1711 |
| - | |
| 1718 | + | |
1712 | 1719 |
| |
1713 | 1720 |
| |
1714 | 1721 |
| |
| |||
1718 | 1725 |
| |
1719 | 1726 |
| |
1720 | 1727 |
| |
| 1728 | + | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
1721 | 1737 |
| |
1722 |
| - | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
1723 | 1745 |
| |
| 1746 | + | |
1724 | 1747 |
| |
1725 | 1748 |
| |
1726 | 1749 |
| |
1727 | 1750 |
| |
1728 |
| - | |
| 1751 | + | |
| 1752 | + | |
1729 | 1753 |
| |
1730 | 1754 |
| |
1731 |
| - | |
| 1755 | + | |
1732 | 1756 |
| |
1733 | 1757 |
| |
1734 | 1758 |
| |
| 1759 | + | |
| 1760 | + | |
| 1761 | + | |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
1735 | 1769 |
| |
1736 | 1770 |
| |
1737 | 1771 |
| |
|
+21-2Lines changed: 21 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3368 | 3368 |
| |
3369 | 3369 |
| |
3370 | 3370 |
| |
| 3371 | + | |
| 3372 | + | |
| 3373 | + | |
| 3374 | + | |
| 3375 | + | |
| 3376 | + | |
| 3377 | + | |
| 3378 | + | |
| 3379 | + | |
| 3380 | + | |
| 3381 | + | |
3371 | 3382 |
| |
3372 | 3383 |
| |
3373 | 3384 |
| |
| 3385 | + | |
3374 | 3386 |
| |
3375 | 3387 |
| |
3376 | 3388 |
| |
3377 | 3389 |
| |
3378 | 3390 |
| |
3379 |
| - | |
| 3391 | + | |
3380 | 3392 |
| |
| 3393 | + | |
3381 | 3394 |
| |
3382 | 3395 |
| |
3383 | 3396 |
| |
| |||
3678 | 3691 |
| |
3679 | 3692 |
| |
3680 | 3693 |
| |
| 3694 | + | |
| 3695 | + | |
| 3696 | + | |
| 3697 | + | |
| 3698 | + | |
3681 | 3699 |
| |
3682 | 3700 |
| |
3683 | 3701 |
| |
3684 | 3702 |
| |
3685 | 3703 |
| |
3686 | 3704 |
| |
3687 | 3705 |
| |
3688 |
| - | |
| 3706 | + | |
| 3707 | + | |
3689 | 3708 |
| |
3690 | 3709 |
| |
3691 | 3710 |
| |
|
src/compiler/transformers/declarations.ts
Copy file name to clipboardExpand all lines: src/compiler/transformers/declarations.ts+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1017 | 1017 |
| |
1018 | 1018 |
| |
1019 | 1019 |
| |
1020 |
| - | |
| 1020 | + | |
1021 | 1021 |
| |
1022 | 1022 |
| |
1023 | 1023 |
| |
|
+15-5Lines changed: 15 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5172 | 5172 |
| |
5173 | 5173 |
| |
5174 | 5174 |
| |
| 5175 | + | |
5175 | 5176 |
| |
5176 | 5177 |
| |
5177 | 5178 |
| |
| |||
5505 | 5506 |
| |
5506 | 5507 |
| |
5507 | 5508 |
| |
| 5509 | + | |
| 5510 | + | |
5508 | 5511 |
| |
5509 | 5512 |
| |
5510 |
| - | |
5511 |
| - | |
5512 |
| - | |
| 5513 | + | |
| 5514 | + | |
| 5515 | + | |
| 5516 | + | |
| 5517 | + | |
| 5518 | + | |
5513 | 5519 |
| |
5514 |
| - | |
| 5520 | + | |
5515 | 5521 |
| |
5516 | 5522 |
| |
5517 |
| - | |
| 5523 | + | |
5518 | 5524 |
| |
5519 | 5525 |
| |
5520 | 5526 |
| |
| |||
6879 | 6885 |
| |
6880 | 6886 |
| |
6881 | 6887 |
| |
| 6888 | + | |
| 6889 | + | |
6882 | 6890 |
| |
| 6891 | + | |
| 6892 | + | |
6883 | 6893 |
| |
6884 | 6894 |
| |
6885 | 6895 |
| |
|
+1-6Lines changed: 1 addition & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4751 | 4751 |
| |
4752 | 4752 |
| |
4753 | 4753 |
| |
4754 |
| - | |
| 4754 | + | |
4755 | 4755 |
| |
4756 | 4756 |
| |
4757 | 4757 |
| |
| |||
5452 | 5452 |
| |
5453 | 5453 |
| |
5454 | 5454 |
| |
5455 |
| - | |
5456 |
| - | |
5457 |
| - | |
5458 |
| - | |
5459 |
| - | |
5460 | 5455 |
| |
5461 | 5456 |
| |
5462 | 5457 |
| |
|
src/compiler/visitorPublic.ts
Copy file name to clipboardExpand all lines: src/compiler/visitorPublic.ts+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
485 | 485 |
| |
486 | 486 |
| |
487 | 487 |
| |
| 488 | + | |
488 | 489 |
| |
489 | 490 |
| |
490 | 491 |
| |
|
You can’t perform that action at this time.
0 commit comments