René's URL Explorer Experiment


Title: Proposal: Type Relationship API · Issue #9879 · microsoft/TypeScript · GitHub

Open Graph Title: Proposal: Type Relationship API · Issue #9879 · microsoft/TypeScript

X Title: Proposal: Type Relationship API · Issue #9879 · microsoft/TypeScript

Description: They type checker has no public API for checking type relationships or for looking up types in a given scope. This can make writing semantic-analysis informed lint rules very difficult (either because you need to replicate a lot of logic...

Open Graph Description: They type checker has no public API for checking type relationships or for looking up types in a given scope. This can make writing semantic-analysis informed lint rules very difficult (either beca...

X Description: They type checker has no public API for checking type relationships or for looking up types in a given scope. This can make writing semantic-analysis informed lint rules very difficult (either beca...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Proposal: Type Relationship API","articleBody":"They type checker has no public API for checking type relationships or for looking up types in a given scope. This can make writing semantic-analysis informed lint rules very difficult (either because you need to replicate a lot of logic, or because you simply don't have enough information). Since [tslint enabled semantic checks](https://github.com/palantir/tslint/commit/9248e056c1a652ee13597e68da26cacf0b87e134) we now have a popular consumer who would very much like to be able to perform meaningful semantic comparisons (See [this rule](https://github.com/palantir/tslint/pull/1394#issuecomment-234384650) for instance).\n# Proposal\n\nA small new set of public API methods on the type checker:\n\n``` ts\ninterface TypeChecker {\n  isIdenticalTo(a: Type, b: Type): boolean; // Exposes internal identity relationship\n  isSubtypeOf(a: Type, b: Type): boolean; // Exposes internal structural subtype relationship\n  isAssignableTo(a: Type, b: Type): boolean; // Exposes internal assignable relationship\n  isComparableTo(a: Type, b: Type): boolean; // Exposes internal comparable relationship\n  isInstantiationOf(a: GenericType, b: GenericType): boolean; // While not an internal relationship, it is a straightforward semantic question to ask an answer which requires internal APIs to answer\n\n  lookupGlobalType(name: string): Type; // Looks up a global symbol named \"name\" with meaning SymbolFlags.Type (Identical to getGlobalType but without the expected arity based return value) - returns unknownType on failure\n  lookupTypeAt(name: string, position: Node): Type // Resolve a symbol lexically at the position specified with meaning SymbolFlags.Type (identical to resolveName, but with less levers) - returns unknownType on failure\n\n  getAnyType(): IntrinsicType;\n  getStringType(): IntrinsicType;\n  getNumberType(): IntrinsicType;\n  getBooleanType(): IntrinsicType;\n  getVoidType(): IntrinsicType;\n  getUndefinedType(): IntrinsicType;\n  getNullType(): IntrinsicType;\n  getESSymbolType(): IntrinsicType;\n  getNeverType(): IntrinsicType;\n  getUnknownType(): IntrinsicType;\n  getStringLiteralType(text: string): StringLiteralType; // When numeric literal types merge, they should have a similar endpoint\n}\n```\n\nWhile this isn't a complete set of APIs for manipulating the type checker (I've left off an API to programatically create new types for comparison), it is enough to do meaningful analysis with existing types in the compilation without resorting to brittle (or often wrong) syntax-based solutions.\n","author":{"url":"https://github.com/weswigham","@type":"Person","name":"weswigham"},"datePublished":"2016-07-21T22:39:38Z","url":"https://github.com/microsoft/TypeScript/issues/9879"}

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:3a54e4a0-d579-0296-c0ed-d2ed1785d09a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idECB4:2E124E:ACE27D:DDEDE5:6B00F93F
html-safe-nonce35134d2d69685712655d09006d6f29dd325e3909a5dd33f3f4fb342499fcdbfe
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0I0OjJFMTI0RTpBQ0UyN0Q6RERFREU1OjZCMDBGOTNGIiwidmlzaXRvcl9pZCI6IjYxMTIwOTA0MDIyMTMzOTQ3NTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf9915dbecc2c865ef8e90832b62bfaad8a8b1a0a6b107f29ed19af451dc06bef
hovercard-subject-tagissue:166933990
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/9879/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d97bc7a2d77531f69ff3993c24853ae52b188fe9dab353b651f56692c8388322/microsoft/TypeScript/issues/9879
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d97bc7a2d77531f69ff3993c24853ae52b188fe9dab353b651f56692c8388322/microsoft/TypeScript/issues/9879
og:image:altThey type checker has no public API for checking type relationships or for looking up types in a given scope. This can make writing semantic-analysis informed lint rules very difficult (either beca...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameweswigham
hostnamegithub.com
expected-hostnamegithub.com
Nonee208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187
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
release7dafd017fb7809a839c443dba08622af38e63c09
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/9879#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F9879
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%2F9879
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/9879
Reloadhttps://github.com/microsoft/TypeScript/issues/9879
Reloadhttps://github.com/microsoft/TypeScript/issues/9879
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests309 (309)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/9879
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/9879
Proposal: Type Relationship APIhttps://github.com/microsoft/TypeScript/issues/9879#top
Domain: APIRelates to the public API for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20API%22
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on Jul 21, 2016https://github.com/microsoft/TypeScript/issues/9879#issue-166933990
tslint enabled semantic checkshttps://github.com/palantir/tslint/commit/9248e056c1a652ee13597e68da26cacf0b87e134
this rulehttps://github.com/palantir/tslint/pull/1394#issuecomment-234384650
Nexthttps://github.com/microsoft/TypeScript/issues/9879?timeline_page=1
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on Jul 21, 2016https://github.com/microsoft/TypeScript/issues/9879#issuecomment-234406236
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
Ron Buckton (@rbuckton)https://github.com/rbuckton
Vladimir Matveev (@vladima)https://github.com/vladima
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
Domain: APIRelates to the public API for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20API%22
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
on Jul 21, 2016https://github.com/microsoft/TypeScript/issues/9879#event-731104134
https://github.com/kitsonk
Kitson Kelly (kitsonk)https://github.com/kitsonk
on Jul 22, 2016https://github.com/microsoft/TypeScript/issues/9879#issuecomment-234597787
Mark Wubben (@novemberborn)https://github.com/novemberborn
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Jul 22, 2016https://github.com/microsoft/TypeScript/issues/9879#issuecomment-234612747
https://github.com/raveclassic
Kirill Agalakov (raveclassic)https://github.com/raveclassic
on Oct 31, 2017https://github.com/microsoft/TypeScript/issues/9879#issuecomment-340849536
#19602https://github.com/microsoft/TypeScript/issues/19602
Sam Vervaeck (@samvv)https://github.com/samvv
#9943https://github.com/microsoft/TypeScript/pull/9943
https://github.com/ibezkrovnyi
Igor Bezkrovnyi (ibezkrovnyi)https://github.com/ibezkrovnyi
on Jul 2, 2018https://github.com/microsoft/TypeScript/issues/9879#issuecomment-401948766
#9943https://github.com/microsoft/TypeScript/pull/9943
Kirill Agalakov (@raveclassic)https://github.com/raveclassic
Sam Vervaeck (@samvv)https://github.com/samvv
no-inferrable-typehttps://github.com/palantir/tslint/blob/9d7db479596c50bbf89fa87d498ab927763a6eec/src/rules/noInferrableTypesRule.ts#L111
no-unnecessary-type-annotationhttps://github.com/ajafff/tslint-consistent-codestyle/blob/5a7b38af11027c4d4202c5cb84e58c2f8b54e305/rules/noUnnecessaryTypeAnnotationRule.ts#L200
Klaus Meinhardt (@ajafff)https://github.com/ajafff
no-useless-assertion and prefer-for-ofhttps://github.com/fimbullinter/wotan/search?q=typesAreEqual&unscoped_q=typesAreEqual
no-inferrable-return-typeshttps://github.com/ibezkrovnyi/tslint-rules/blob/7ae29fcd1c7485868fefe909535176dfa5800c1b/rules/noInferrableReturnTypesRule.ts#L98
#9943https://github.com/microsoft/TypeScript/pull/9943
Expose isTypeRelatedTo in the compiler API #17917https://github.com/microsoft/TypeScript/issues/17917
Assignability checks in API #13502https://github.com/microsoft/TypeScript/issues/13502
#11728 (comment)https://github.com/microsoft/TypeScript/issues/11728#issuecomment-257023378
Wesley Wigham (@weswigham)https://github.com/weswigham
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
https://github.com/rictic
Peter Burns (rictic)https://github.com/rictic
on Nov 29, 2018https://github.com/microsoft/TypeScript/issues/9879#issuecomment-442851951
https://github.com/lukewis
Luke W (lukewis)https://github.com/lukewis
on Nov 29, 2018https://github.com/microsoft/TypeScript/issues/9879#issuecomment-442882150
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
pointed outhttps://github.com/Microsoft/TypeScript/pull/9943#issuecomment-341486403
Wesley Wigham (@weswigham)https://github.com/weswigham
suggestionhttps://github.com/Microsoft/TypeScript/pull/9943#issuecomment-341488298
#9943https://github.com/microsoft/TypeScript/pull/9943
https://github.com/rictic
Peter Burns (rictic)https://github.com/rictic
on Jan 10, 2019https://github.com/microsoft/TypeScript/issues/9879#issuecomment-453243589
Pine (@octref)https://github.com/octref
https://github.com/vuejs/vetur/pull/681/fileshttps://github.com/vuejs/vetur/pull/681/files
https://github.com/rictic
Peter Burns (rictic)https://github.com/rictic
on Feb 12, 2019https://github.com/microsoft/TypeScript/issues/9879#issuecomment-462935865
https://www.npmjs.com/package/ts-simple-typehttps://www.npmjs.com/package/ts-simple-type
https://twitter.com/RuneMehlsen/status/1095401856493330433https://twitter.com/RuneMehlsen/status/1095401856493330433
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Jul 22, 2019https://github.com/microsoft/TypeScript/issues/9879#issuecomment-513723588
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Jul 22, 2019https://github.com/microsoft/TypeScript/issues/9879#issuecomment-513920302
https://user-images.githubusercontent.com/5655961/61659172-e0503180-ac94-11e9-96b0-38f33bbdf789.png
https://user-images.githubusercontent.com/5655961/61659444-73896700-ac95-11e9-92b9-a1f1bf8f29ab.png
https://github.com/rictic
Peter Burns (rictic)https://github.com/rictic
on Aug 18, 2021https://github.com/microsoft/TypeScript/issues/9879#issuecomment-901451848
https://github.com/SlurpTheo
SlurpTheohttps://github.com/SlurpTheo
on Aug 18, 2021https://github.com/microsoft/TypeScript/issues/9879#issuecomment-901461973
https://github.com/rictic
Peter Burns (rictic)https://github.com/rictic
on Aug 19, 2021https://github.com/microsoft/TypeScript/issues/9879#issuecomment-901620009
https://www.typescriptlang.org/play?#code/CYUwxgNghgTiAEEQBd4DMD2MC2IYC54BveKQgZ2RgEsA7Ac3gF8BuAKFElgSVWmWR5CJKAH4KVOo1Zs2-QTHgBedFlwx2mHHmWIoAvOyAhttps://www.typescriptlang.org/play#code/CYUwxgNghgTiAEEQBd4DMD2MC2IYC54BveKQgZ2RgEsA7Ac3gF8BuAKFElgSVWmWR5CJKAH4KVOo1Zs2-QTHgBedFlwx2mHHmWIoAvOyA
https://github.com/robatwilliams
Robat Williams (robatwilliams)https://github.com/robatwilliams
on Sep 22, 2021https://github.com/microsoft/TypeScript/issues/9879#issuecomment-924912125
https://github.com/bradzacher
Brad Zacher (bradzacher)https://github.com/bradzacher
on Sep 22, 2021https://github.com/microsoft/TypeScript/issues/9879#issuecomment-925006850
Robat Williams (@robatwilliams)https://github.com/robatwilliams
https://github.com/typescript-eslint/typescript-eslinthttps://github.com/typescript-eslint/typescript-eslint
https://github.com/justjake
Jake Teton-Landis (justjake)https://github.com/justjake
on Jun 8, 2022https://github.com/microsoft/TypeScript/issues/9879#issuecomment-1150347931
Jake Teton-Landis (justjake)https://github.com/justjake
on Jun 9, 2022https://github.com/microsoft/TypeScript/issues/9879#event-6773955913
Fix microsoft#9879 by exposing TypeCheker APIshttps://github.com/justjake/TypeScript/commit/d467ffad604f4c173aa61b5096ac8d3ed47cda17
microsoft#9879https://github.com/microsoft/TypeScript/issues/9879
https://docs.github.com/articles/closing-issues-via-commit-messages
d467ffahttps://github.com/justjake/TypeScript/commit/d467ffad604f4c173aa61b5096ac8d3ed47cda17
https://github.com/justjake
Jake Teton-Landis (justjake)https://github.com/justjake
on Jun 10, 2022https://github.com/microsoft/TypeScript/issues/9879#issuecomment-1151730145
Daniel Rosenwasser (@DanielRosenwasser)https://github.com/DanielRosenwasser
https://github.com/microsoft/TypeScript/compare/main...justjake:jake--9879-type-relation-api?expand=1https://github.com/microsoft/TypeScript/compare/main...justjake:jake--9879-type-relation-api?expand=1
#9943https://github.com/microsoft/TypeScript/pull/9943
https://github.com/justjake
Jake Teton-Landis (justjake)https://github.com/justjake
on Jun 10, 2022https://github.com/microsoft/TypeScript/issues/9879#issuecomment-1151735720
https://github.com/lgenzelis
Lucas Genzelis (lgenzelis)https://github.com/lgenzelis
on Jul 9, 2023https://github.com/microsoft/TypeScript/issues/9879#issuecomment-1627860645
typescript-eslint/typescript-eslint#7173https://github.com/typescript-eslint/typescript-eslint/issues/7173
https://github.com/JoshuaKGoldberg
Josh Ghoulberg 👻 (JoshuaKGoldberg)https://github.com/JoshuaKGoldberg
on Oct 11, 2023https://github.com/microsoft/TypeScript/issues/9879#issuecomment-1758108764
https://github.com/JoshuaKGoldberg/TypeStathttps://github.com/JoshuaKGoldberg/TypeStat
JoshuaKGoldberg/TypeStat@0129b6dhttps://github.com/JoshuaKGoldberg/TypeStat/commit/0129b6db0b83cc6a027240046be43eb597a90885
Rule enforcing typeAnnotation on a complex query is correct eslint-community/eslint-plugin-eslint-plugin#340https://github.com/eslint-community/eslint-plugin-eslint-plugin/issues/340
Feature: add a new assertion that uses assignability checking JoshuaKGoldberg/eslint-plugin-expect-type#18https://github.com/JoshuaKGoldberg/eslint-plugin-expect-type/issues/18
Use union types for all common classes of AST nodes #54148 (comment)https://github.com/microsoft/TypeScript/pull/54148#discussion_r1186601123
Rule proposal: Strict interface implementation typescript-eslint/typescript-eslint#277https://github.com/typescript-eslint/typescript-eslint/issues/277
Enhancement: Rule to prefer type annotation over type assertion when possible typescript-eslint/typescript-eslint#709https://github.com/typescript-eslint/typescript-eslint/issues/709
Bug: [prefer-readonly] autofixer doesn't add type to property that is mutated in the constructor typescript-eslint/typescript-eslint#1056https://github.com/typescript-eslint/typescript-eslint/issues/1056
Bug: [prefer-reduce-type-parameter] unfixable reporting typescript-eslint/typescript-eslint#3440https://github.com/typescript-eslint/typescript-eslint/issues/3440
Enhancement: [no-unnecessary-type-arguments] Report inferred required types typescript-eslint/typescript-eslint#4978https://github.com/typescript-eslint/typescript-eslint/issues/4978
Rule proposal: prevent comparing object types typescript-eslint/typescript-eslint#5647https://github.com/typescript-eslint/typescript-eslint/issues/5647
Enhancement: [consistent-type-assertions] Prefer type annotation over assertion for arrays typescript-eslint/typescript-eslint#6374https://github.com/typescript-eslint/typescript-eslint/issues/6374
Rule proposal: disallow unused return types typescript-eslint/typescript-eslint#6442https://github.com/typescript-eslint/typescript-eslint/issues/6442
Rule proposal: no-unsafe-type-assertion typescript-eslint/typescript-eslint#7173https://github.com/typescript-eslint/typescript-eslint/issues/7173
Rule proposal: Enforce related types for getter and setter pairs typescript-eslint/typescript-eslint#7236https://github.com/typescript-eslint/typescript-eslint/issues/7236
Bug: [no-unnecessary-type-assertion] Does not work with enums typescript-eslint/typescript-eslint#7652https://github.com/typescript-eslint/typescript-eslint/issues/7652
Enhancement: [no-redundant-type-constituents] Use assignability checking for redundancy checks typescript-eslint/typescript-eslint#7742https://github.com/typescript-eslint/typescript-eslint/issues/7742
Rule proposal: no unchecked casts out of a potentially nullish type typescript-eslint/typescript-eslint#7757https://github.com/typescript-eslint/typescript-eslint/issues/7757
#9879https://github.com/microsoft/TypeScript/issues/9879
typescript-eslint/typescript-eslint#7742https://github.com/typescript-eslint/typescript-eslint/issues/7742
Jake Bailey (@jakebailey)https://github.com/jakebailey
https://github.com/JoshuaKGoldberg
Josh Ghoulberg 👻 (JoshuaKGoldberg)https://github.com/JoshuaKGoldberg
on Nov 15, 2023https://github.com/microsoft/TypeScript/issues/9879#issuecomment-1812679850
typescript-eslint/typescript-eslint#7936https://github.com/typescript-eslint/typescript-eslint/discussions/7936
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Dec 8, 2023https://github.com/microsoft/TypeScript/issues/9879#issuecomment-1847859292
#56448https://github.com/microsoft/TypeScript/pull/56448
https://github.com/Tofandel
Adrien Foulon (Tofandel)https://github.com/Tofandel
on Mar 13, 2024https://github.com/microsoft/TypeScript/issues/9879#issuecomment-1994040590
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Mar 13, 2024https://github.com/microsoft/TypeScript/issues/9879#issuecomment-1994805186
#23689https://github.com/microsoft/TypeScript/issues/23689
#40468https://github.com/microsoft/TypeScript/pull/40468
Playground Linkhttps://www.typescriptlang.org/play#code/JYOwLgpgTgZghgYwgAgGIHt3IN4FgBQyRyMmAXMiAK4C2ARtANwEC+BBoksiKG6AQnCg4CxEuUq0GUZoWJ0hFAM5gooAOay2+AgBMICADZCUhiGGQAPCn1n6jJ5GYsBPG5kEz2+S8gC8yC6MyAD0IcgAKgAWwErIAO7oUADWSsEgEBC6yGBYulhgMXGgOS4ADihKZTwAdN4EYOUoAJJKEVBUEAA8EcgQlpAgunEAjAB8-pH1+I0VyADCUQbJI5Ot7Z1dfJ59AxBDcXzIAPzIqxQADGMNTQtLCMkATGttHd1H-YPDaB5CJ2fIS5jIA
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/9879
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/9879
Domain: APIRelates to the public API for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20API%22
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%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

Viewport: width=device-width


URLs of crawlers that visited me.