René's URL Explorer Experiment


Title: Generic type-safe implementation for Object.assign by Schniz · Pull Request #30481 · microsoft/TypeScript · GitHub

Open Graph Title: Generic type-safe implementation for Object.assign by Schniz · Pull Request #30481 · microsoft/TypeScript

X Title: Generic type-safe implementation for Object.assign by Schniz · Pull Request #30481 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Generic type-safe implementation for Object.assign by Schniz · Pull Request #30481 · microsoft/TypeScript

Open Graph Description: It seems that it can be possible to make a type-safe Object.assign-like functions with TypeScript, without having to make lots of overrides. Here's an example on the playground: https://www.typ...

X Description: It seems that it can be possible to make a type-safe Object.assign-like functions with TypeScript, without having to make lots of overrides. Here's an example on the playground: https://www...

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

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:7f0c3451-9a9e-9e0c-a6ce-0f40db968d90
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id839A:E0ADF:6D2E6B:89E34C:6B01C9D2
html-safe-nonce763edc599a6bb95b8fc138bed388a4cfbcc0238237aa226b8f9818c3d176143c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzlBOkUwQURGOjZEMkU2Qjo4OUUzNEM6NkIwMUM5RDIiLCJ2aXNpdG9yX2lkIjoiNDI5MjY2NTI5ODQwMzgzODQxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9524117174cf7858d10501c1426c5a366334d239223a49d021f93b445233fe65
hovercard-subject-tagpull_request:262351037
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/30481/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/182ca8200081e0d51c4a54be6d55c448c34ea8f012430e8a26e75fa063312afe/microsoft/TypeScript/pull/30481
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/182ca8200081e0d51c4a54be6d55c448c34ea8f012430e8a26e75fa063312afe/microsoft/TypeScript/pull/30481
og:image:altIt seems that it can be possible to make a type-safe Object.assign-like functions with TypeScript, without having to make lots of overrides. Here's an example on the playground: https://www.typ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSchniz
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/30481#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F30481
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%2F30481
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/30481
Reloadhttps://github.com/microsoft/TypeScript/pull/30481
Reloadhttps://github.com/microsoft/TypeScript/pull/30481
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
Gal Schlezinger (Schniz)https://github.com/Schniz
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
Schniz:patch-1https://github.com/Schniz/TypeScript/tree/patch-1
Conversationhttps://github.com/microsoft/TypeScript/pull/30481
Commits1 (1)https://github.com/microsoft/TypeScript/pull/30481/commits
Checkshttps://github.com/microsoft/TypeScript/pull/30481/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/30481/files
Generic type-safe implementation for Object.assignhttps://github.com/microsoft/TypeScript/pull/30481#top
Gal Schlezinger (Schniz)https://github.com/Schniz
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
Schniz:patch-1https://github.com/Schniz/TypeScript/tree/patch-1
https://github.com/Schniz
Gal Schlezinger (Schniz)https://github.com/Schniz
Mar 19, 2019https://github.com/microsoft/TypeScript/pull/30481#issue-422596555
https://www.typescriptlang.org/play/index.html#src=function%20assign%3CSource%20extends%20%7B%7D%2C%20Result%20extends%20Source%3E(%0D%0A%20%20%20%20target%3A%20Source%2C%0D%0A%20%20%20%20...sources%3A%20Source%5B%5D%0D%0A)%3A%20Pick%3CResult%2C%20keyof%20Source%3E%20%7B%0D%0A%20%20%20%20return%20Object.assign(target%2C%20...sources)%3B%0D%0A%7D%0D%0A%0D%0Alet%20x%20%3D%0D%0A%20%20%20%20assign(%0D%0A%20%20%20%20%20%20%20%20%7B%20hello%3A%20%22world%22%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%20something%3A%20%22is%20good%22%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%20%22yes%22%3A%20true%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%20yes%3A%20%22hello%22%20%7D%0D%0A%20%20%20%20)%3B%0D%0A%0D%0Ax.hello%3B%0D%0Ax.world%3B%20%2F%2F%20error!%0D%0Ax.yes%3Bhttps://www.typescriptlang.org/play/index.html#src=function%20assign%3CSource%20extends%20%7B%7D%2C%20Result%20extends%20Source%3E(%0D%0A%20%20%20%20target%3A%20Source%2C%0D%0A%20%20%20%20...sources%3A%20Source%5B%5D%0D%0A)%3A%20Pick%3CResult%2C%20keyof%20Source%3E%20%7B%0D%0A%20%20%20%20return%20Object.assign(target%2C%20...sources)%3B%0D%0A%7D%0D%0A%0D%0Alet%20x%20%3D%0D%0A%20%20%20%20assign(%0D%0A%20%20%20%20%20%20%20%20%7B%20hello%3A%20%22world%22%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%20something%3A%20%22is%20good%22%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%20%22yes%22%3A%20true%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7B%20yes%3A%20%22hello%22%20%7D%0D%0A%20%20%20%20)%3B%0D%0A%0D%0Ax.hello%3B%0D%0Ax.world%3B%20%2F%2F%20error!%0D%0Ax.yes%3B
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30481
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Mar 19, 2019https://github.com/microsoft/TypeScript/pull/30481#issuecomment-474240709
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30481
https://github.com/msftclas
Microsoft Contribution License Agreements (msftclas)https://github.com/msftclas
Mar 19, 2019https://github.com/microsoft/TypeScript/pull/30481#issuecomment-474240740
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30481
https://cla.opensource.microsoft.com/Microsoft/TypeScript?pullRequest=30481
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30481
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Mar 19, 2019https://github.com/microsoft/TypeScript/pull/30481#issuecomment-474240749
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30481
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Mar 19, 2019https://github.com/microsoft/TypeScript/pull/30481#issuecomment-474241602
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30481
https://github.com/Schniz
Generic type-safe implementation for Object.assignhttps://github.com/microsoft/TypeScript/pull/30481/commits/c0665b0336cf260f7583d24af3ca911e4fb123c7
c0665b0https://github.com/microsoft/TypeScript/pull/30481/commits/c0665b0336cf260f7583d24af3ca911e4fb123c7
https://github.com/Schniz
Gal Schlezinger (Schniz)https://github.com/Schniz
force-pushedhttps://github.com/microsoft/TypeScript/compare/e0af730718af6783774b82972ac445e93826ff0d..c0665b0336cf260f7583d24af3ca911e4fb123c7
e0af730https://github.com/microsoft/TypeScript/commit/e0af730718af6783774b82972ac445e93826ff0d
c0665b0https://github.com/microsoft/TypeScript/commit/c0665b0336cf260f7583d24af3ca911e4fb123c7
Compare https://github.com/microsoft/TypeScript/compare/e0af730718af6783774b82972ac445e93826ff0d..c0665b0336cf260f7583d24af3ca911e4fb123c7
March 19, 2019 08:30https://github.com/microsoft/TypeScript/pull/30481#event-2212743840
https://github.com/Schniz
Gal Schlezinger (Schniz)https://github.com/Schniz
March 19, 2019 08:56https://github.com/microsoft/TypeScript/pull/30481#event-2212807157
https://github.com/j-oliveras
Jordi Oliveras Rovira (j-oliveras)https://github.com/j-oliveras
Mar 19, 2019https://github.com/microsoft/TypeScript/pull/30481#issuecomment-474304433
playgroundhttps://www.typescriptlang.org/play/index.html#src=function%20assign%3CSource%20extends%20%7B%7D%2C%20Result%20extends%20Source%3E(%0D%0A%20%20%20%20target%3A%20Source%2C%0D%0A%20%20%20%20...sources%3A%20Source%5B%5D%0D%0A)%3A%20Pick%3CResult%2C%20keyof%20Source%3E%20%7B%0D%0A%20%20%20%20return%20Object.assign(target%2C%20...sources)%3B%0D%0A%7D%0D%0A%0D%0Alet%20y1%20%3D%20assign(%0D%0A%20%20%20%20()%20%3D%3E%20%22%22%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20version%3A%201%0D%0A%20%20%20%20%7D%0D%0A)%3B%0D%0A%0D%0Alet%20y2%20%3D%20Object.assign(%0D%0A%20%20%20%20()%20%3D%3E%20%22%22%2C%0D%0A%20%20%20%20%7B%0D%0A%20%20%20%20%20%20%20%20version%3A%201%0D%0A%20%20%20%20%7D%0D%0A)%3B%0D%0A
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30481
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Apr 25, 2019https://github.com/microsoft/TypeScript/pull/30481#issuecomment-486851056
Jordi Oliveras Rovira (@j-oliveras)https://github.com/j-oliveras
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30481
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Apr 25, 2019https://github.com/microsoft/TypeScript/pull/30481#event-2301575803
https://github.com/Benjamin-Dobell
Benjamin Dobell (Benjamin-Dobell)https://github.com/Benjamin-Dobell
Jun 19, 2019 https://github.com/microsoft/TypeScript/pull/30481#ref-issue-458079416
Bug Report + Proposal: Object.assign() #31982 https://github.com/microsoft/TypeScript/issues/31982
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/30481#event-20415923386
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%2F30481
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30481
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30481
https://github.com/Schniz
https://github.com/typescript-bot
https://github.com/msftclas
https://github.com/j-oliveras
https://github.com/RyanCavanaugh
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.