René's URL Explorer Experiment


Title: Generic spread expressions in object literals by ahejlsberg · Pull Request #28234 · microsoft/TypeScript · GitHub

Open Graph Title: Generic spread expressions in object literals by ahejlsberg · Pull Request #28234 · microsoft/TypeScript

X Title: Generic spread expressions in object literals by ahejlsberg · Pull Request #28234 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Generic spread expressions in object literals by ahejlsberg · Pull Request #28234 · microsoft/TypeScript

Open Graph Description: With this PR we permit generic types in spread expressions within object literals. Object literals with generic spread expressions now produce intersection types, similar to the Object.assign funct...

X Description: With this PR we permit generic types in spread expressions within object literals. Object literals with generic spread expressions now produce intersection types, similar to the Object.assign funct...

Opengraph URL: https://github.com/microsoft/TypeScript/pull/28234

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:3ae5fca0-b6cd-ec81-7dca-70cc899c499c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9CF8:29AEE8:28EA209:3687BE6:6B01B5F4
html-safe-nonce3528b595da580ac1fa3d4a8d84f18f544988971ae2410bf73d4c91b62171efd1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Q0Y4OjI5QUVFODoyOEVBMjA5OjM2ODdCRTY6NkIwMUI1RjQiLCJ2aXNpdG9yX2lkIjoiNDcxODM0OTU5MTY5MzYwNDM0MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc98d6c8b64e4eb020f5376213f42a52cdb1ba56a17e12ee9b0bd2afaccd790be
hovercard-subject-tagpull_request:227011806
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript/28234/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/affc863c532c01df6d5c2106847b37fd9d78829156e19dfd0bb52e82a1dd8211/microsoft/TypeScript/pull/28234
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/affc863c532c01df6d5c2106847b37fd9d78829156e19dfd0bb52e82a1dd8211/microsoft/TypeScript/pull/28234
og:image:altWith this PR we permit generic types in spread expressions within object literals. Object literals with generic spread expressions now produce intersection types, similar to the Object.assign funct...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameahejlsberg
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/28234#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F28234
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F28234
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/pull/28234
Reloadhttps://github.com/microsoft/TypeScript/pull/28234
Reloadhttps://github.com/microsoft/TypeScript/pull/28234
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests312 (312)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/insights
https://github.com/microsoft/TypeScript
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
masterhttps://github.com/microsoft/TypeScript/tree/master
genericSpreadhttps://github.com/microsoft/TypeScript/tree/genericSpread
Conversationhttps://github.com/microsoft/TypeScript/pull/28234
Commits8 (8)https://github.com/microsoft/TypeScript/pull/28234/commits
Checkshttps://github.com/microsoft/TypeScript/pull/28234/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/28234/files
Generic spread expressions in object literalshttps://github.com/microsoft/TypeScript/pull/28234#top
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
masterhttps://github.com/microsoft/TypeScript/tree/master
genericSpreadhttps://github.com/microsoft/TypeScript/tree/genericSpread
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Oct 30, 2018https://github.com/microsoft/TypeScript/pull/28234#issue-375604622
#10727https://github.com/microsoft/TypeScript/issues/10727
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28234
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
October 29, 2018 16:02https://github.com/microsoft/TypeScript/pull/28234#commits-pushed-7a47248
https://github.com/ahejlsberg
Produce intersection types for spreads with generic typeshttps://github.com/microsoft/TypeScript/pull/28234/commits/7a47248f304647c21d3511a073e5cbd0d428e986
7a47248https://github.com/microsoft/TypeScript/pull/28234/commits/7a47248f304647c21d3511a073e5cbd0d428e986
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/28234/commits/00c30156c613ef9348a6402f7d33d201c14caeef
00c3015https://github.com/microsoft/TypeScript/pull/28234/commits/00c30156c613ef9348a6402f7d33d201c14caeef
https://github.com/ahejlsberg
Add testshttps://github.com/microsoft/TypeScript/pull/28234/commits/e0d210d0279e69f0a3b60ef25df07b7670bccc73
e0d210dhttps://github.com/microsoft/TypeScript/pull/28234/commits/e0d210d0279e69f0a3b60ef25df07b7670bccc73
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/28234/commits/0f308f50744da64bce435c29e3ef522c82b41a07
0f308f5https://github.com/microsoft/TypeScript/pull/28234/commits/0f308f50744da64bce435c29e3ef522c82b41a07
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Oct 30, 2018 https://github.com/microsoft/TypeScript/pull/28234#ref-issue-175311249
Add spread/rest higher-order types operator #10727 https://github.com/microsoft/TypeScript/issues/10727
https://github.com/hatamov
Farkhad Khatamov (hatamov)https://github.com/hatamov
Oct 30, 2018https://github.com/microsoft/TypeScript/pull/28234#issuecomment-434407039
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28234
https://github.com/ajafff
Klaus Meinhardt (ajafff)https://github.com/ajafff
Oct 30, 2018 https://github.com/microsoft/TypeScript/pull/28234#ref-issue-375628223
no-duplicate-spread-property: handle spread of type variables fimbullinter/wotan#447 https://github.com/fimbullinter/wotan/issues/447
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Wesley Wigham (weswigham)https://github.com/weswigham
October 30, 2018 18:33https://github.com/microsoft/TypeScript/pull/28234#event-1935946847
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Oct 30, 2018https://github.com/microsoft/TypeScript/pull/28234#issuecomment-434423661
Farkhad Khatamov (@hatamov)https://github.com/hatamov
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28234
https://github.com/ajafff
Klaus Meinhardt (ajafff)https://github.com/ajafff
Oct 30, 2018https://github.com/microsoft/TypeScript/pull/28234#issuecomment-434431310
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28234
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Oct 30, 2018https://github.com/microsoft/TypeScript/pull/28234#issuecomment-434444188
herehttps://github.com/Microsoft/TypeScript/pull/21316#issuecomment-359574388
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28234
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Oct 30, 2018 https://github.com/microsoft/TypeScript/pull/28234#pullrequestreview-169997318
View reviewed changes https://github.com/microsoft/TypeScript/pull/28234/files/0f308f50744da64bce435c29e3ef522c82b41a07
tests/baselines/reference/objectRestNegative.errors.txthttps://github.com/microsoft/TypeScript/pull/28234/files/0f308f50744da64bce435c29e3ef522c82b41a07#diff-d0740ac18a9efe0c64e262d5b166107e4165460acf38caf982f8161afc8035bc
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28234
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Oct 30, 2018 https://github.com/microsoft/TypeScript/pull/28234#pullrequestreview-169997615
View reviewed changes https://github.com/microsoft/TypeScript/pull/28234/files/0f308f50744da64bce435c29e3ef522c82b41a07
tests/baselines/reference/objectSpreadNegative.errors.txthttps://github.com/microsoft/TypeScript/pull/28234/files/0f308f50744da64bce435c29e3ef522c82b41a07#diff-e8d07d3cd4ca7614b11e24699344107841c86e6d6ed6a1b00a927e2147ba2dd7
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28234
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Oct 30, 2018 https://github.com/microsoft/TypeScript/pull/28234#pullrequestreview-169997897
View reviewed changes https://github.com/microsoft/TypeScript/pull/28234/files/0f308f50744da64bce435c29e3ef522c82b41a07
tests/baselines/reference/restInvalidArgumentType.errors.txthttps://github.com/microsoft/TypeScript/pull/28234/files/0f308f50744da64bce435c29e3ef522c82b41a07#diff-c80b97bf9b0850b0b076fde6a3b6d36a10add8b23b3472617d97ad57bbd3c051
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28234
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Oct 30, 2018 https://github.com/microsoft/TypeScript/pull/28234#pullrequestreview-169998125
View reviewed changes https://github.com/microsoft/TypeScript/pull/28234/files/0f308f50744da64bce435c29e3ef522c82b41a07
tests/baselines/reference/spreadInvalidArgumentType.errors.txthttps://github.com/microsoft/TypeScript/pull/28234/files/0f308f50744da64bce435c29e3ef522c82b41a07#diff-34c34cb372a0f704c1663bbde089c477808973a192b9c753b860c4fbcfb92091
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28234
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Oct 30, 2018 https://github.com/microsoft/TypeScript/pull/28234#pullrequestreview-169999334
View reviewed changes https://github.com/microsoft/TypeScript/pull/28234/files/0f308f50744da64bce435c29e3ef522c82b41a07
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
https://github.com/microsoft/TypeScript/pull/28234#pullrequestreview-169999334
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28234
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
October 30, 2018 16:00https://github.com/microsoft/TypeScript/pull/28234#commits-pushed-9d5e8fe
https://github.com/ahejlsberg
Continue to error on rest from generic source typehttps://github.com/microsoft/TypeScript/pull/28234/commits/9d5e8fe89f0063a0eb70034c3314f6e903003e4e
9d5e8fehttps://github.com/microsoft/TypeScript/pull/28234/commits/9d5e8fe89f0063a0eb70034c3314f6e903003e4e
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/28234/commits/3c3633995535e59b471ec423ed782b8c746c0498
3c36339https://github.com/microsoft/TypeScript/pull/28234/commits/3c3633995535e59b471ec423ed782b8c746c0498
https://github.com/ahejlsberg
Update testshttps://github.com/microsoft/TypeScript/pull/28234/commits/2ed627aaf12b3270c4e21fa8db4d92058c545625
2ed627ahttps://github.com/microsoft/TypeScript/pull/28234/commits/2ed627aaf12b3270c4e21fa8db4d92058c545625
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/28234/commits/1577f9429dafc3191e48d7c37d62a8c413baa425
1577f94https://github.com/microsoft/TypeScript/pull/28234/commits/1577f9429dafc3191e48d7c37d62a8c413baa425
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Oct 30, 2018https://github.com/microsoft/TypeScript/pull/28234#issuecomment-434509690
Nathan Shively-Sanders (@sandersn)https://github.com/sandersn
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28234
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Oct 31, 2018https://github.com/microsoft/TypeScript/pull/28234#event-1938900043
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Oct 31, 2018 https://github.com/microsoft/TypeScript/pull/28234#pullrequestreview-170438913
View reviewed changes https://github.com/microsoft/TypeScript/pull/28234/files/1577f9429dafc3191e48d7c37d62a8c413baa425
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
8e4b90dhttps://github.com/microsoft/TypeScript/commit/8e4b90da003292c60e2c92f4e975b88f6a3948ba
Oct 31, 2018https://github.com/microsoft/TypeScript/pull/28234#event-1938923107
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
October 31, 2018 19:52https://github.com/microsoft/TypeScript/pull/28234#event-1938923256
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Nov 1, 2018 https://github.com/microsoft/TypeScript/pull/28234#ref-issue-376340502
Compiler is forgetting the basetype of an extended type when that type is generic #28280 https://github.com/microsoft/TypeScript/issues/28280
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Nov 2, 2018 https://github.com/microsoft/TypeScript/pull/28234#ref-pullrequest-376867266
Generic object rest variables and parameters #28312 https://github.com/microsoft/TypeScript/pull/28312
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Nov 2, 2018 https://github.com/microsoft/TypeScript/pull/28234#pullrequestreview-171216994
View reviewed changes https://github.com/microsoft/TypeScript/pull/28234/files/1577f9429dafc3191e48d7c37d62a8c413baa425
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/28234/files/1577f9429dafc3191e48d7c37d62a8c413baa425#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Wesley Wigham (weswigham)https://github.com/weswigham
Nov 2, 2018https://github.com/microsoft/TypeScript/pull/28234#discussion_r230465223
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28234
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Nov 3, 2018 https://github.com/microsoft/TypeScript/pull/28234#ref-issue-377008872
Design Meeting Notes, 11/2/2018 #28326 https://github.com/microsoft/TypeScript/issues/28326
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Nov 19, 2018 https://github.com/microsoft/TypeScript/pull/28234#ref-pullrequest-381252817
Object.assign return assigned type instead merged #28553 https://github.com/microsoft/TypeScript/pull/28553
https://github.com/jack-williams
Jack Williams (jack-williams)https://github.com/jack-williams
Nov 23, 2018https://github.com/microsoft/TypeScript/pull/28234#issuecomment-441197337
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28234
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Nov 26, 2018https://github.com/microsoft/TypeScript/pull/28234#issuecomment-441730901
Jack Williams (@jack-williams)https://github.com/jack-williams
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28234
https://github.com/jack-williams
Jack Williams (jack-williams)https://github.com/jack-williams
Nov 26, 2018https://github.com/microsoft/TypeScript/pull/28234#issuecomment-441800216
Nathan Shively-Sanders (@sandersn)https://github.com/sandersn
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28234
https://github.com/lsagetlethias
Lilian Saget-Lethias (lsagetlethias)https://github.com/lsagetlethias
Dec 20, 2018 https://github.com/microsoft/TypeScript/pull/28234#ref-issue-392971184
Support Typescript last version or support choosing local typescript bin TypeStrong/typedoc#924 https://github.com/TypeStrong/typedoc/issues/924
https://github.com/JasonKleban
JasonKlebanhttps://github.com/JasonKleban
Jan 8, 2019https://github.com/microsoft/TypeScript/pull/28234#issuecomment-452282851
Playgroundhttp://www.typescriptlang.org/play/#src=function%20func2%3CT%20extends%20%7B%20a%3A%20string%2C%20b%3A%20string%20%7D%3E(param%3A%20T)%0D%0A%20%20%20%20%3A%20%7B%20a%3A%20string%2C%20b%3A%20string%20%7D%20%7B%0D%0A%20%20%20%20const%20%7B%20a%2C%20...rest%20%7D%20%3D%20param%3B%0D%0A%20%20%20%20const%20x%20%3D%20rest.b%3B%20%2F%2F%20Property%20'b'%20does%20not%20exist%20on%20type%20'Pick%3CT%2C%20Exclude%3Ckeyof%20T%2C%20%22a%22%3E%3E'.%0D%0A%20%20%20%20return%20%7B%20a%2C%20...rest%20%7D%3B%20%2F%2F%20Property%20'b'%20is%20missing%20in%20type%20'%7B%20a%3A%20string%3B%20%7D%20%26%20Pick%3CT%2C%20Exclude%3Ckeyof%20T%2C%20%22a%22%3E%3E'%20%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20but%20required%20in%20type%20'%7B%20a%3A%20string%3B%20b%3A%20string%3B%20%7D'.%0D%0A%7D
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28234
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jan 8, 2019https://github.com/microsoft/TypeScript/pull/28234#issuecomment-452317376
JasonKlebanhttps://github.com/JasonKleban
#29121https://github.com/microsoft/TypeScript/pull/29121
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28234
https://github.com/Porges
George Pollard (Porges)https://github.com/Porges
Jun 18, 2019https://github.com/microsoft/TypeScript/pull/28234#issuecomment-502940850
herehttps://github.com/Microsoft/TypeScript/pull/21316#issuecomment-359574388
https://user-images.githubusercontent.com/12575/59652921-f9704900-91e3-11e9-920b-92056788048b.png
https://user-images.githubusercontent.com/12575/59652972-3ccab780-91e4-11e9-8269-bff64f6a5c71.png
https://user-images.githubusercontent.com/12575/59653011-697ecf00-91e4-11e9-905c-490d14c22b79.png
https://user-images.githubusercontent.com/12575/59653052-98954080-91e4-11e9-9891-536fd24f7e36.png
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28234
https://github.com/jcalz
Joe Calzaretta (jcalz)https://github.com/jcalz
Jun 21, 2019 https://github.com/microsoft/TypeScript/pull/28234#ref-issue-459105388
missing properties after applying spread operator on instance of abstract type #32022 https://github.com/microsoft/TypeScript/issues/32022
https://github.com/karlhorky
Karl Horky (karlhorky)https://github.com/karlhorky
Jul 4, 2019 https://github.com/microsoft/TypeScript/pull/28234#ref-issue-464256867
Full Handbook Page on Soundness microsoft/TypeScript-Handbook#1059 https://github.com/microsoft/TypeScript-Handbook/issues/1059
https://github.com/saulshanabrook
Saul Shanabrook (saulshanabrook)https://github.com/saulshanabrook
Sep 24, 2019 https://github.com/microsoft/TypeScript/pull/28234#ref-issue-497733244
Destructure and spread on generics not typing #33579 https://github.com/microsoft/TypeScript/issues/33579
https://github.com/syy1125
Jack Sun (syy1125)https://github.com/syy1125
Oct 4, 2019 https://github.com/microsoft/TypeScript/pull/28234#ref-issue-502885611
Inferred return type of a generic function with destructure incorrectly retains generics #33823 https://github.com/microsoft/TypeScript/issues/33823
https://github.com/jnv
Jan Vlnas (jnv)https://github.com/jnv
Feb 28, 2020 https://github.com/microsoft/TypeScript/pull/28234#ref-pullrequest-572609049
docs(README.md): update info about type spread operator in TS niieani/typescript-vs-flowtype#69 https://github.com/niieani/typescript-vs-flowtype/pull/69
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Apr 14, 2020 https://github.com/microsoft/TypeScript/pull/28234#ref-issue-599043719
Type inference issue with spread and generics #37934 https://github.com/microsoft/TypeScript/issues/37934
https://github.com/WilliamPeralta
WilliamPeraltahttps://github.com/WilliamPeralta
Oct 13, 2021https://github.com/microsoft/TypeScript/pull/28234#issuecomment-942525748
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28234
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28234
https://github.com/MajorLift
Jongsun (MajorLift)https://github.com/MajorLift
Feb 22, 2024 https://github.com/microsoft/TypeScript/pull/28234#ref-pullrequest-2149693188
[base-controller] Fix any usage in BaseControllerV1 MetaMask/core#3959 https://github.com/MetaMask/core/pull/3959
Jongsun (MajorLift)https://github.com/MajorLift
Feb 26, 2024 https://github.com/microsoft/TypeScript/pull/28234#ref-commit-538c5c1
https://github.com/MajorLift
Fix code written based on outdated TypeScript limitationhttps://github.com/MetaMask/core/commit/538c5c1313eaa801d5f3edeeadb2419d3e569d2c
538c5c1https://github.com/MetaMask/core/commit/538c5c1313eaa801d5f3edeeadb2419d3e569d2c
microsoft/TypeScript#28234https://github.com/microsoft/TypeScript/pull/28234
Jongsun (MajorLift)https://github.com/MajorLift
Feb 27, 2024 https://github.com/microsoft/TypeScript/pull/28234#ref-commit-eda5b9d
https://github.com/MajorLift
[base-controller] Fixhttps://github.com/MetaMask/core/commit/eda5b9dfa87ab9418b77709a0a020a7ffefe9d92
anyhttps://github.com/MetaMask/core/commit/eda5b9dfa87ab9418b77709a0a020a7ffefe9d92
usage inhttps://github.com/MetaMask/core/commit/eda5b9dfa87ab9418b77709a0a020a7ffefe9d92
BaseControllerV1https://github.com/MetaMask/core/commit/eda5b9dfa87ab9418b77709a0a020a7ffefe9d92
(https://github.com/MetaMask/core/commit/eda5b9dfa87ab9418b77709a0a020a7ffefe9d92
#3959https://github.com/MetaMask/core/pull/3959
)https://github.com/MetaMask/core/commit/eda5b9dfa87ab9418b77709a0a020a7ffefe9d92
eda5b9dhttps://github.com/MetaMask/core/commit/eda5b9dfa87ab9418b77709a0a020a7ffefe9d92
microsoft/TypeScript#28234https://github.com/microsoft/TypeScript/pull/28234
#3715https://github.com/MetaMask/core/issues/3715
https://github.com/MetaMask/core/pull/3959/files#diff-a8212838da15b445582e5622bd4cc8195e4c52bcf87210af8074555f806706a9https://github.com/MetaMask/core/pull/3959/files#diff-a8212838da15b445582e5622bd4cc8195e4c52bcf87210af8074555f806706a9
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/28234#event-20415836626
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F28234
https://github.com/weswigham
Wesley Wigham (weswigham) https://github.com/weswigham
https://github.com/microsoft/TypeScript/pull/28234/files/1577f9429dafc3191e48d7c37d62a8c413baa425
https://github.com/sandersn
Nathan Shively-Sanders (sandersn) https://github.com/sandersn
https://github.com/microsoft/TypeScript/pull/28234/files/1577f9429dafc3191e48d7c37d62a8c413baa425
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser) https://github.com/DanielRosenwasser
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28234
https://github.com/sandersn
Nathan Shively-Sanders (sandersn) https://github.com/sandersn
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/28234
https://github.com/ahejlsberg
https://github.com/hatamov
https://github.com/ajafff
https://github.com/jack-williams
https://github.com/sandersn
https://github.com/JasonKleban
https://github.com/Porges
https://github.com/WilliamPeralta
https://github.com/weswigham
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.