CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 09:35:19 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/"04844a107ebc01b88bfe0418dfb6b434"
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=HtShn6VOApJnn2q%2FHPyI2I9pbxnCfZuIhDsgXwuW%2ByLLA8eaThjv2bYpD5TySVL2mVj36YWacd5LhT4llR%2BT4SiDoE1kXArQWk6jQGP1RtgBUkMgKTE48oZ%2FPDrsw4pkcodstnuOkRnTsM5CMzfT%2Bxm%2F7Ad%2BlATh%2FhfYR%2BqLqNY6f59nC1R%2BynL3o3wmKCI7LiPulTSWSa1j%2BsQFVe%2FO3v9HC4tdDgt13MxjO1r99Bui7CgTLjrmRs2L%2B3NoGceIuswFWt11e8CghNUFlE4RFg%3D%3D--zCY2k51gQpBwCqi2--%2Bo9ekPqYJOiezRHXPE0oUA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1314480904.1752917717; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 09:35:17 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 09:35:17 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D786:26CB0:5D918C:7C7077:687B66D5
Merge pull request #8625 from Microsoft/optionalClassProperties · microsoft/TypeScript@9a22d08 · GitHub
Copy file name to clipboardExpand all lines: src/compiler/declarationEmitter.ts
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json
Copy file name to clipboardExpand all lines: tests/baselines/reference/classWithOptionalParameter.errors.txt
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboardExpand all lines: tests/baselines/reference/declFileConstructors.js
Copy file name to clipboard
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit 9a22d08
committed
File tree
Expand file treeCollapse file tree
17 files changed
+729
-70
lines changedFilter options
- src
- compiler
- services
- tests
- baselines/reference
- cases/conformance/types
- namedTypes
- objectTypeLiteral/methodSignatures
Expand file treeCollapse file tree
17 files changed
+729
-70
lines changed+24-20Lines changed: 24 additions & 20 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
79 | 79 |
| |
80 | 80 |
| |
81 | 81 |
| |
| 82 | + | |
82 | 83 |
| |
83 | 84 |
| |
84 | 85 |
| |
| |||
2884 | 2885 |
| |
2885 | 2886 |
| |
2886 | 2887 |
| |
| 2888 | + | |
| 2889 | + | |
| 2890 | + | |
| 2891 | + | |
2887 | 2892 |
| |
2888 | 2893 |
| |
2889 | 2894 |
| |
| |||
2915 | 2920 |
| |
2916 | 2921 |
| |
2917 | 2922 |
| |
2918 |
| - | |
2919 |
| - | |
| 2923 | + | |
2920 | 2924 |
| |
2921 | 2925 |
| |
2922 | 2926 |
| |
| |||
2938 | 2942 |
| |
2939 | 2943 |
| |
2940 | 2944 |
| |
2941 |
| - | |
| 2945 | + | |
2942 | 2946 |
| |
2943 | 2947 |
| |
2944 | 2948 |
| |
2945 | 2949 |
| |
2946 | 2950 |
| |
2947 |
| - | |
| 2951 | + | |
2948 | 2952 |
| |
2949 | 2953 |
| |
2950 | 2954 |
| |
| |||
3215 | 3219 |
| |
3216 | 3220 |
| |
3217 | 3221 |
| |
3218 |
| - | |
| 3222 | + | |
| 3223 | + | |
| 3224 | + | |
3219 | 3225 |
| |
3220 | 3226 |
| |
3221 | 3227 |
| |
| |||
7614 | 7620 |
| |
7615 | 7621 |
| |
7616 | 7622 |
| |
7617 |
| - | |
| 7623 | + | |
7618 | 7624 |
| |
7619 |
| - | |
| 7625 | + | |
7620 | 7626 |
| |
7621 | 7627 |
| |
| 7628 | + | |
7622 | 7629 |
| |
7623 | 7630 |
| |
7624 | 7631 |
| |
| |||
8092 | 8099 |
| |
8093 | 8100 |
| |
8094 | 8101 |
| |
8095 |
| - | |
| 8102 | + | |
8096 | 8103 |
| |
8097 | 8104 |
| |
8098 |
| - | |
8099 |
| - | |
| 8105 | + | |
| 8106 | + | |
8100 | 8107 |
| |
8101 | 8108 |
| |
8102 | 8109 |
| |
| |||
8344 | 8351 |
| |
8345 | 8352 |
| |
8346 | 8353 |
| |
8347 |
| - | |
| 8354 | + | |
8348 | 8355 |
| |
8349 | 8356 |
| |
8350 | 8357 |
| |
| |||
9919 | 9926 |
| |
9920 | 9927 |
| |
9921 | 9928 |
| |
9922 |
| - | |
| 9929 | + | |
| 9930 | + | |
9923 | 9931 |
| |
9924 | 9932 |
| |
9925 | 9933 |
| |
| |||
9936 | 9944 |
| |
9937 | 9945 |
| |
9938 | 9946 |
| |
9939 |
| - | |
| 9947 | + | |
9940 | 9948 |
| |
9941 | 9949 |
| |
9942 | 9950 |
| |
| |||
13400 | 13408 |
| |
13401 | 13409 |
| |
13402 | 13410 |
| |
13403 |
| - | |
| 13411 | + | |
13404 | 13412 |
| |
13405 | 13413 |
| |
13406 | 13414 |
| |
| |||
18290 | 18298 |
| |
18291 | 18299 |
| |
18292 | 18300 |
| |
18293 |
| - | |
| 18301 | + | |
18294 | 18302 |
| |
18295 | 18303 |
| |
18296 | 18304 |
| |
| |||
18299 | 18307 |
| |
18300 | 18308 |
| |
18301 | 18309 |
| |
18302 |
| - | |
18303 |
| - | |
18304 |
| - | |
18305 | 18310 |
| |
18306 | 18311 |
| |
18307 | 18312 |
| |
| |||
18523 | 18528 |
| |
18524 | 18529 |
| |
18525 | 18530 |
| |
18526 |
| - | |
18527 |
| - | |
| 18531 | + | |
18528 | 18532 |
| |
18529 | 18533 |
| |
18530 | 18534 |
| |
|
src/compiler/declarationEmitter.ts
Copy file name to clipboardExpand all lines: src/compiler/declarationEmitter.ts+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1129 | 1129 |
| |
1130 | 1130 |
| |
1131 | 1131 |
| |
1132 |
| - | |
| 1132 | + | |
1133 | 1133 |
| |
1134 | 1134 |
| |
1135 | 1135 |
| |
|
src/compiler/diagnosticMessages.json
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json-4Lines changed: 0 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
315 | 315 |
| |
316 | 316 |
| |
317 | 317 |
| |
318 |
| - | |
319 |
| - | |
320 |
| - | |
321 |
| - | |
322 | 318 |
| |
323 | 319 |
| |
324 | 320 |
| |
|
+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1772 | 1772 |
| |
1773 | 1773 |
| |
1774 | 1774 |
| |
| 1775 | + | |
1775 | 1776 |
| |
1776 | 1777 |
| |
1777 | 1778 |
| |
|
+6-2Lines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
| 53 | + | |
53 | 54 |
| |
54 | 55 |
| |
55 | 56 |
| |
| |||
735 | 736 |
| |
736 | 737 |
| |
737 | 738 |
| |
| 739 | + | |
| 740 | + | |
| 741 | + | |
738 | 742 |
| |
739 | 743 |
| |
740 | 744 |
| |
| |||
4366 | 4370 |
| |
4367 | 4371 |
| |
4368 | 4372 |
| |
4369 |
| - | |
| 4373 | + | |
4370 | 4374 |
| |
4371 | 4375 |
| |
4372 | 4376 |
| |
| |||
4564 | 4568 |
| |
4565 | 4569 |
| |
4566 | 4570 |
| |
4567 |
| - | |
| 4571 | + | |
4568 | 4572 |
| |
4569 | 4573 |
| |
4570 | 4574 |
| |
|
tests/baselines/reference/classWithOptionalParameter.errors.txt
Copy file name to clipboardExpand all lines: tests/baselines/reference/classWithOptionalParameter.errors.txt-26Lines changed: 0 additions & 26 deletions
This file was deleted.
tests/baselines/reference/classWithOptionalParameter.symbols
Copy file name to clipboard+26Lines changed: 26 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + |
tests/baselines/reference/classWithOptionalParameter.types
Copy file name to clipboard+26Lines changed: 26 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + |
tests/baselines/reference/declFileConstructors.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/declFileConstructors.js+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
247 | 247 |
| |
248 | 248 |
| |
249 | 249 |
| |
250 |
| - | |
| 250 | + | |
251 | 251 |
| |
252 | 252 |
| |
253 | 253 |
| |
| |||
281 | 281 |
| |
282 | 282 |
| |
283 | 283 |
| |
284 |
| - | |
| 284 | + | |
285 | 285 |
| |
286 | 286 |
| |
287 | 287 |
| |
|
tests/baselines/reference/objectLiteralMemberWithQuestionMark1.errors.txt
Copy file name to clipboard+2-2Lines changed: 2 additions & 2 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 | + |
You can’t perform that action at this time.
0 commit comments