René's URL Explorer Experiment


Title: Can't evaluate equality of symbols made by Symbol.for · Issue #35909 · microsoft/TypeScript · GitHub

Open Graph Title: Can't evaluate equality of symbols made by Symbol.for · Issue #35909 · microsoft/TypeScript

X Title: Can't evaluate equality of symbols made by Symbol.for · Issue #35909 · microsoft/TypeScript

Description: This is also an obstacle of branded types and ghost types. I think resolving this problem is easy because these types are just a new literal type similar to string literal types. TypeScript Version: 3.7.x-dev.20191228 Search Terms: Code ...

Open Graph Description: This is also an obstacle of branded types and ghost types. I think resolving this problem is easy because these types are just a new literal type similar to string literal types. TypeScript Version...

X Description: This is also an obstacle of branded types and ghost types. I think resolving this problem is easy because these types are just a new literal type similar to string literal types. TypeScript Version...

Opengraph URL: https://github.com/microsoft/TypeScript/issues/35909

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Can't evaluate equality of symbols made by Symbol.for","articleBody":"This is also an obstacle of branded types and ghost types. I think resolving this problem is easy because these types are just a new literal type similar to string literal types.\r\n\r\n\u003c!--\r\nPlease try to reproduce the issue with the latest published version. It may have already been fixed.\r\nFor npm: `typescript@next`\r\nThis is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly\r\n-->\r\n**TypeScript Version:**  3.7.x-dev.20191228\r\n\r\n\u003c!-- Search terms you tried before logging this (so others can find this issue more easily) -->\r\n**Search Terms:**\r\n\r\n**Code**\r\n\r\n```ts\r\nconst a = Symbol.for('');\r\nconst b = Symbol.for('');\r\nconst c: typeof b = Symbol.for(''); // error\r\na === b; // error\r\n```\r\n\r\n**Expected behavior:**\r\nno error\r\n**Actual behavior:**\r\nType 'typeof b' is not assignable to type 'typeof a'.\r\nThis condition will always return 'false' since the types 'typeof a' and 'typeof b' have no overlap.\r\n**Playground Link:** https://www.typescriptlang.org/play/index.html?ts=3.8.0-dev.20191228&ssl=1&ssc=1&pln=4&pc=18#code/MYewdgzgLgBAhjAvDAygTwLYCMQBsB0AZiAE4AUA5BQJQDcAUKJLFkqpjgceVXY+NBjAAXDChoADgFMQhGK2TpseIqUo1aMAPRaYUkiVL0EiU-M069B0kA\r\n\r\n**Related Issues:** #35200\r\n","author":{"url":"https://github.com/falsandtru","@type":"Person","name":"falsandtru"},"datePublished":"2019-12-29T22:45:49Z","url":"https://github.com/microsoft/TypeScript/issues/35909"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a37c627f-5f50-ac30-8814-a7d630366062
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDA30:21700E:3BECF7:526DC1:6B046D6E
html-safe-noncebd224a762795ae75c7cf57471b37f547f7f67cd9fd0b312c553ed83dc9b02825
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTMwOjIxNzAwRTozQkVDRjc6NTI2REMxOjZCMDQ2RDZFIiwidmlzaXRvcl9pZCI6IjEyMzMyNjg5NDk5NjIyMjI5NTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca9c2d082e00a7cd81b71043d89067ea833f6ae7a4f3899f9e27d6ed3db57dadb
hovercard-subject-tagissue:543605686
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/35909/issue_layout
twitter:imagehttps://opengraph.githubassets.com/629e56730814fbc12b13bab29231e0d5ca7da4bd08806fdbab63e523c956bec9/microsoft/TypeScript/issues/35909
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/629e56730814fbc12b13bab29231e0d5ca7da4bd08806fdbab63e523c956bec9/microsoft/TypeScript/issues/35909
og:image:altThis is also an obstacle of branded types and ghost types. I think resolving this problem is easy because these types are just a new literal type similar to string literal types. TypeScript Version...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefalsandtru
hostnamegithub.com
expected-hostnamegithub.com
Noneae8802492f12d3ba4f6b0d814054e617a2a5616b6327bf8555c10cd5b0dc2a6f
turbo-cache-controlno-preview
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
releasecfb5f24c6e01d85f70804652a5107e5cac03a161
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/35909#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F35909
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%2Fissues%2F35909
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/issues/35909
Reloadhttps://github.com/microsoft/TypeScript/issues/35909
Reloadhttps://github.com/microsoft/TypeScript/issues/35909
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests319 (319)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
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/35909
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/35909
#64451https://github.com/microsoft/TypeScript/pull/64451
Can't evaluate equality of symbols made by Symbol.forhttps://github.com/microsoft/TypeScript/issues/35909#top
#64451https://github.com/microsoft/TypeScript/pull/64451
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featurehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Awaiting%20More%20Feedback%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
https://github.com/falsandtru
falsandtru (falsandtru)https://github.com/falsandtru
on Dec 29, 2019https://github.com/microsoft/TypeScript/issues/35909#issue-543605686
https://www.typescriptlang.org/play/index.html?ts=3.8.0-dev.20191228&ssl=1&ssc=1&pln=4&pc=18#code/MYewdgzgLgBAhjAvDAygTwLYCMQBsB0AZiAE4AUA5BQJQDcAUKJLFkqpjgceVXY+NBjAAXDChoADgFMQhGK2TpseIqUo1aMAPRaYUkiVL0EiU-M069B0kAhttps://www.typescriptlang.org/play/index.html?ts=3.8.0-dev.20191228&ssl=1&ssc=1&pln=4&pc=18#code/MYewdgzgLgBAhjAvDAygTwLYCMQBsB0AZiAE4AUA5BQJQDcAUKJLFkqpjgceVXY+NBjAAXDChoADgFMQhGK2TpseIqUo1aMAPRaYUkiVL0EiU-M069B0kA
#35200https://github.com/microsoft/TypeScript/pull/35200
https://github.com/falsandtru
falsandtru (falsandtru)https://github.com/falsandtru
on Dec 29, 2019https://github.com/microsoft/TypeScript/issues/35909#issuecomment-569551571
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featurehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Awaiting%20More%20Feedback%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
on Jan 14, 2020https://github.com/microsoft/TypeScript/issues/35909#event-2948701931
https://github.com/ExE-Boss
ExE Boss (ExE-Boss)https://github.com/ExE-Boss
on Feb 14, 2020https://github.com/microsoft/TypeScript/issues/35909#issuecomment-586444046
https://github.com/typeofweb
Michał Miszczyszyn (typeofweb)https://github.com/typeofweb
on Mar 17, 2020https://github.com/microsoft/TypeScript/issues/35909#issuecomment-600037185
https://github.com/ExE-Boss
ExE Boss (ExE-Boss)https://github.com/ExE-Boss
on Mar 19, 2020https://github.com/microsoft/TypeScript/issues/35909#issuecomment-600915941
https://github.com/typeofweb
Michał Miszczyszyn (typeofweb)https://github.com/typeofweb
on Mar 19, 2020https://github.com/microsoft/TypeScript/issues/35909#issuecomment-601060414
https://github.com/kurtharriger
Kurt Harriger (kurtharriger)https://github.com/kurtharriger
on Apr 14, 2020https://github.com/microsoft/TypeScript/issues/35909#issuecomment-613718996
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/forhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/for
https://www.typescriptlang.org/play/?ssl=3&ssc=25&pln=1&pc=1#code/MYewdgzgLgBARjAvDAygTwLZxAGwHQBmIATgBQDkcAhseQJQDcAUKJLHAExKqbb5FlKNes1YRcAUzw4QAc1LwkiZJxiMmQAhttps://www.typescriptlang.org/play/?ssl=3&ssc=25&pln=1&pc=1#code/MYewdgzgLgBARjAvDAygTwLZxAGwHQBmIATgBQDkcAhseQJQDcAUKJLHAExKqbb5FlKNes1YRcAUzw4QAc1LwkiZJxiMmQA
https://user-images.githubusercontent.com/112603/79281321-bd435e80-7e6f-11ea-93ea-f2e1f91f8085.png
https://github.com/cowboyd
Charles Lowell (cowboyd)https://github.com/cowboyd
on Jan 13, 2022https://github.com/microsoft/TypeScript/issues/35909#issuecomment-1011900606
https://github.com/nicolo-ribaudo
Nicolò Ribaudo (nicolo-ribaudo)https://github.com/nicolo-ribaudo
on Jan 13, 2022https://github.com/microsoft/TypeScript/issues/35909#issuecomment-1012105913
Charles Lowell (@cowboyd)https://github.com/cowboyd
#35909 (comment)https://github.com/microsoft/TypeScript/issues/35909#issuecomment-586444046
https://github.com/cowboyd
Charles Lowell (cowboyd)https://github.com/cowboyd
on Jan 14, 2022https://github.com/microsoft/TypeScript/issues/35909#issuecomment-1012984992
Nicolò Ribaudo (@nicolo-ribaudo)https://github.com/nicolo-ribaudo
ExE Boss (@ExE-Boss)https://github.com/ExE-Boss
https://github.com/pjeby
PJ Eby (pjeby)https://github.com/pjeby
on Jun 19, 2022https://github.com/microsoft/TypeScript/issues/35909#issuecomment-1159692746
Sʜɪᴍᴜʀᴀ Yū (yuhr)https://github.com/yuhr
Indexed symbol types #60944https://github.com/microsoft/TypeScript/issues/60944
on Jan 11, 2025https://github.com/microsoft/TypeScript/issues/35909#event-15892284943
https://github.com/yuhr
Sʜɪᴍᴜʀᴀ Yū (yuhr)https://github.com/yuhr
on Jan 11, 2025https://github.com/microsoft/TypeScript/issues/35909#issuecomment-2585209754
#60944https://github.com/microsoft/TypeScript/issues/60944
https://github.com/lygstate
Yonggang Luo (lygstate)https://github.com/lygstate
on Jun 4, 2026https://github.com/microsoft/TypeScript/issues/35909#issuecomment-4626919034
Yonggang Luo (lygstate)https://github.com/lygstate
on Jun 5, 2026https://github.com/microsoft/TypeScript/issues/35909#event-26364981554
Use globalThis.lvgljsBridge to overcome issue:https://github.com/lvgljs/lvgljs/commit/507e6f4addd72ce4b4dd11b894c580da26b11425
507e6f4https://github.com/lvgljs/lvgljs/commit/507e6f4addd72ce4b4dd11b894c580da26b11425
fix(react): use globalThis.lvgljsBridge for typed native bridge accesshttps://github.com/lvgljs/lvgljs/commit/951bd1b15e5b3da2f585c9dce984cf50405107e7
951bd1bhttps://github.com/lvgljs/lvgljs/commit/951bd1b15e5b3da2f585c9dce984cf50405107e7
fix(react): use globalThis.lvgljsBridge for typed native bridge accesshttps://github.com/lvgljs/lvgljs/commit/a297770cde28d307e58c265ee814ff1efd3cc9f9
a297770https://github.com/lvgljs/lvgljs/commit/a297770cde28d307e58c265ee814ff1efd3cc9f9
fix(react): use globalThis.lvgljsBridge for typed native bridge accesshttps://github.com/lvgljs/lvgljs/commit/d34b5814595335f0dd1319091203e67a0b6f5272
d34b581https://github.com/lvgljs/lvgljs/commit/d34b5814595335f0dd1319091203e67a0b6f5272
fix(react): use globalThis.lvgljsBridge for typed native bridge accesshttps://github.com/lvgljs/lvgljs/commit/c8ab205ea23922b1c1bb7180bfb9c4135b154222
c8ab205https://github.com/lvgljs/lvgljs/commit/c8ab205ea23922b1c1bb7180bfb9c4135b154222
fix(react): use globalThis.lvgljsBridge for typed native bridge accesshttps://github.com/lvgljs/lvgljs/commit/c5fac6b12d59a5dee140e157809e23d908cf8ae1
c5fac6bhttps://github.com/lvgljs/lvgljs/commit/c5fac6b12d59a5dee140e157809e23d908cf8ae1
fix(react): use globalThis.lvgljsBridge for typed native bridge accesshttps://github.com/lvgljs/lvgljs/commit/7ddee96425ee2c8c18d08c4b65dd1278e9c2c4d8
7ddee96https://github.com/lvgljs/lvgljs/commit/7ddee96425ee2c8c18d08c4b65dd1278e9c2c4d8
fix(react): use globalThis.lvgljsBridge for typed native bridge accesshttps://github.com/lvgljs/lvgljs/commit/f8bbecd16482c568f272c5207b3e42b06a3769c5
f8bbecdhttps://github.com/lvgljs/lvgljs/commit/f8bbecd16482c568f272c5207b3e42b06a3769c5
fix(react): use globalThis.lvgljsBridge for typed native bridge accesshttps://github.com/lvgljs/lvgljs/commit/74caa0b232f7ffb7142485a5a9f327524566b8b0
74caa0bhttps://github.com/lvgljs/lvgljs/commit/74caa0b232f7ffb7142485a5a9f327524566b8b0
fix(react): use globalThis.lvgljsBridge for typed native bridge accesshttps://github.com/lvgljs/lvgljs/commit/2a781271416e73f96f68e69826adef620f986167
2a78127https://github.com/lvgljs/lvgljs/commit/2a781271416e73f96f68e69826adef620f986167
https://github.com/michaelfig
Michael FIG (michaelfig)https://github.com/michaelfig
on Oct 19, 2026https://github.com/microsoft/TypeScript/issues/35909#issuecomment-6277055373
#64451https://github.com/microsoft/TypeScript/pull/64451
https://github.com/Richiban
Richard Gibson (Richiban)https://github.com/Richiban
on Oct 27, 2026https://github.com/microsoft/TypeScript/issues/35909#issuecomment-6438798683
https://github.com/cowboyd
Charles Lowell (cowboyd)https://github.com/cowboyd
on Oct 28, 2026https://github.com/microsoft/TypeScript/issues/35909#issuecomment-6471498698
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/35909
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/35909
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featurehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Awaiting%20More%20Feedback%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.