CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 14:29:40 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/"2e23bfeaf9439df5617e91939837bc48"
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=Ie8DSFkHLNmRiqOOy6%2FsnFdBQK%2FGjpEj0O19qPvG7nh0%2BqA5%2BaBo43hKvlC5IHL2vlyw6fo7NOtWlK6q6crwn%2BI5CJ19m6Cm8hMylBHCR6zMO6kJ1Zsfi139ANqDLghBMQOv8digW9yO0Am0UavbZdDB0%2FH%2Fqi7bvLhykdS6s5NRPTyfgAdzpRky2lnOyl8mapeqmqyVv2mF8AVd2lCcRc%2Bfuj3fcYjYJZzETVzVH2%2B6BzDx7ns%2FyGjzRw0mOBXDksls%2FuQWsQZOtZ3MQzaPVg%3D%3D--Wy9VXv2LogeEzwZo--yq5kAbViSZu9lN8C3OZBhA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.936812068.1752935378; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 14:29:38 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 14:29:38 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C48A:0A55:516C18:64E7D9:687BABD2
Add new special assignment kinds for recognizing Object.definePropert… · microsoft/TypeScript@69b1cb5 · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit 69b1cb5
authored
Add new special assignment kinds for recognizing Object.defineProperty calls (#27208)
* Add new special assignment kinds for recognizing Object.defineProperty calls
* Add support for prototype assignments, fix nits
* Fix code review comments
* Add test documenting behavior in a few more odd scenarios1 parent e379aeb commit 69b1cb5Copy full SHA for 69b1cb5
File tree
Expand file treeCollapse file tree
30 files changed
+2756
-25
lines changedFilter options
- src
- compiler
- services
- tests
- baselines/reference
- api
- cases
- compiler
- conformance/jsdoc
- fourslash
Expand file treeCollapse file tree
30 files changed
+2756
-25
lines changed+58-9Lines changed: 58 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2112 | 2112 |
| |
2113 | 2113 |
| |
2114 | 2114 |
| |
2115 |
| - | |
| 2115 | + | |
2116 | 2116 |
| |
2117 | 2117 |
| |
2118 | 2118 |
| |
| |||
2188 | 2188 |
| |
2189 | 2189 |
| |
2190 | 2190 |
| |
| 2191 | + | |
| 2192 | + | |
| 2193 | + | |
| 2194 | + | |
| 2195 | + | |
| 2196 | + | |
| 2197 | + | |
| 2198 | + | |
| 2199 | + | |
| 2200 | + | |
| 2201 | + | |
| 2202 | + | |
| 2203 | + | |
2191 | 2204 |
| |
2192 | 2205 |
| |
2193 | 2206 |
| |
| |||
2351 | 2364 |
| |
2352 | 2365 |
| |
2353 | 2366 |
| |
| 2367 | + | |
| 2368 | + | |
| 2369 | + | |
| 2370 | + | |
| 2371 | + | |
| 2372 | + | |
| 2373 | + | |
| 2374 | + | |
| 2375 | + | |
| 2376 | + | |
| 2377 | + | |
| 2378 | + | |
| 2379 | + | |
| 2380 | + | |
| 2381 | + | |
| 2382 | + | |
2354 | 2383 |
| |
2355 | 2384 |
| |
2356 | 2385 |
| |
| |||
2458 | 2487 |
| |
2459 | 2488 |
| |
2460 | 2489 |
| |
| 2490 | + | |
| 2491 | + | |
| 2492 | + | |
| 2493 | + | |
| 2494 | + | |
2461 | 2495 |
| |
2462 | 2496 |
| |
2463 | 2497 |
| |
| |||
2476 | 2510 |
| |
2477 | 2511 |
| |
2478 | 2512 |
| |
| 2513 | + | |
| 2514 | + | |
| 2515 | + | |
| 2516 | + | |
| 2517 | + | |
| 2518 | + | |
2479 | 2519 |
| |
2480 | 2520 |
| |
2481 | 2521 |
| |
| |||
2507 | 2547 |
| |
2508 | 2548 |
| |
2509 | 2549 |
| |
2510 |
| - | |
2511 |
| - | |
2512 |
| - | |
2513 |
| - | |
2514 |
| - | |
| 2550 | + | |
2515 | 2551 |
| |
2516 | 2552 |
| |
2517 | 2553 |
| |
2518 | 2554 |
| |
2519 |
| - | |
| 2555 | + | |
2520 | 2556 |
| |
2521 | 2557 |
| |
2522 | 2558 |
| |
| |||
2528 | 2564 |
| |
2529 | 2565 |
| |
2530 | 2566 |
| |
| 2567 | + | |
| 2568 | + | |
| 2569 | + | |
| 2570 | + | |
2531 | 2571 |
| |
2532 | 2572 |
| |
2533 | 2573 |
| |
| |||
2537 | 2577 |
| |
2538 | 2578 |
| |
2539 | 2579 |
| |
2540 |
| - | |
| 2580 | + | |
2541 | 2581 |
| |
2542 | 2582 |
| |
2543 |
| - | |
| 2583 | + | |
| 2584 | + | |
| 2585 | + | |
| 2586 | + | |
| 2587 | + | |
| 2588 | + | |
| 2589 | + | |
| 2590 | + | |
| 2591 | + | |
| 2592 | + | |
2544 | 2593 |
| |
2545 | 2594 |
| |
2546 | 2595 |
| |
|
+96-6Lines changed: 96 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4881 | 4881 |
| |
4882 | 4882 |
| |
4883 | 4883 |
| |
4884 |
| - | |
| 4884 | + | |
4885 | 4885 |
| |
4886 | 4886 |
| |
4887 | 4887 |
| |
| |||
4897 | 4897 |
| |
4898 | 4898 |
| |
4899 | 4899 |
| |
4900 |
| - | |
| 4900 | + | |
| 4901 | + | |
| 4902 | + | |
4901 | 4903 |
| |
4902 |
| - | |
| 4904 | + | |
4903 | 4905 |
| |
4904 | 4906 |
| |
4905 | 4907 |
| |
| |||
4960 | 4962 |
| |
4961 | 4963 |
| |
4962 | 4964 |
| |
4963 |
| - | |
| 4965 | + | |
| 4966 | + | |
| 4967 | + | |
| 4968 | + | |
| 4969 | + | |
| 4970 | + | |
| 4971 | + | |
| 4972 | + | |
| 4973 | + | |
| 4974 | + | |
| 4975 | + | |
| 4976 | + | |
| 4977 | + | |
| 4978 | + | |
| 4979 | + | |
| 4980 | + | |
| 4981 | + | |
| 4982 | + | |
| 4983 | + | |
| 4984 | + | |
| 4985 | + | |
| 4986 | + | |
| 4987 | + | |
| 4988 | + | |
| 4989 | + | |
| 4990 | + | |
4964 | 4991 |
| |
4965 | 4992 |
| |
4966 | 4993 |
| |
| |||
5212 | 5239 |
| |
5213 | 5240 |
| |
5214 | 5241 |
| |
5215 |
| - | |
| 5242 | + | |
5216 | 5243 |
| |
5217 | 5244 |
| |
5218 | 5245 |
| |
| |||
16179 | 16206 |
| |
16180 | 16207 |
| |
16181 | 16208 |
| |
| 16209 | + | |
| 16210 | + | |
| 16211 | + | |
| 16212 | + | |
| 16213 | + | |
| 16214 | + | |
| 16215 | + | |
| 16216 | + | |
| 16217 | + | |
| 16218 | + | |
| 16219 | + | |
| 16220 | + | |
| 16221 | + | |
| 16222 | + | |
| 16223 | + | |
| 16224 | + | |
| 16225 | + | |
| 16226 | + | |
| 16227 | + | |
| 16228 | + | |
| 16229 | + | |
| 16230 | + | |
| 16231 | + | |
| 16232 | + | |
| 16233 | + | |
16182 | 16234 |
| |
16183 | 16235 |
| |
16184 | 16236 |
| |
| |||
16741 | 16793 |
| |
16742 | 16794 |
| |
16743 | 16795 |
| |
| 16796 | + | |
| 16797 | + | |
| 16798 | + | |
| 16799 | + | |
16744 | 16800 |
| |
16745 | 16801 |
| |
16746 | 16802 |
| |
| |||
21132 | 21188 |
| |
21133 | 21189 |
| |
21134 | 21190 |
| |
| 21191 | + | |
| 21192 | + | |
| 21193 | + | |
| 21194 | + | |
| 21195 | + | |
| 21196 | + | |
| 21197 | + | |
| 21198 | + | |
| 21199 | + | |
| 21200 | + | |
| 21201 | + | |
| 21202 | + | |
| 21203 | + | |
| 21204 | + | |
| 21205 | + | |
| 21206 | + | |
| 21207 | + | |
| 21208 | + | |
| 21209 | + | |
| 21210 | + | |
| 21211 | + | |
| 21212 | + | |
| 21213 | + | |
| 21214 | + | |
| 21215 | + | |
| 21216 | + | |
| 21217 | + | |
| 21218 | + | |
| 21219 | + | |
| 21220 | + | |
| 21221 | + | |
21135 | 21222 |
| |
21136 | 21223 |
| |
21137 | 21224 |
| |
21138 | 21225 |
| |
21139 | 21226 |
| |
21140 | 21227 |
| |
| 21228 | + | |
21141 | 21229 |
| |
21142 | 21230 |
| |
21143 | 21231 |
| |
21144 | 21232 |
| |
21145 | 21233 |
| |
21146 |
| - | |
| 21234 | + | |
| 21235 | + | |
| 21236 | + | |
21147 | 21237 |
| |
21148 | 21238 |
| |
21149 | 21239 |
| |
|
+13-1Lines changed: 13 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
790 | 790 |
| |
791 | 791 |
| |
792 | 792 |
| |
793 |
| - | |
| 793 | + | |
794 | 794 |
| |
795 | 795 |
| |
796 | 796 |
| |
| |||
1774 | 1774 |
| |
1775 | 1775 |
| |
1776 | 1776 |
| |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
1777 | 1780 |
| |
1778 | 1781 |
| |
1779 | 1782 |
| |
| |||
4347 | 4350 |
| |
4348 | 4351 |
| |
4349 | 4352 |
| |
| 4353 | + | |
| 4354 | + | |
| 4355 | + | |
| 4356 | + | |
| 4357 | + | |
| 4358 | + | |
| 4359 | + | |
| 4360 | + | |
| 4361 | + | |
4350 | 4362 |
| |
4351 | 4363 |
| |
4352 | 4364 |
| |
|
You can’t perform that action at this time.
0 commit comments