René's URL Explorer Experiment


Title: Improve structure, formatting, (human) parsability and readabiliy of errors · Issue #29059 · microsoft/TypeScript · GitHub

Open Graph Title: Improve structure, formatting, (human) parsability and readabiliy of errors · Issue #29059 · microsoft/TypeScript

X Title: Improve structure, formatting, (human) parsability and readabiliy of errors · Issue #29059 · microsoft/TypeScript

Description: Suggestion Comparing my DX/UX experience from working with flow versus TypeScript, the error messages is one of the few things that I preferred how flow does it. Especially after flow v0.66 release. I believe they integrated alot from th...

Open Graph Description: Suggestion Comparing my DX/UX experience from working with flow versus TypeScript, the error messages is one of the few things that I preferred how flow does it. Especially after flow v0.66 release...

X Description: Suggestion Comparing my DX/UX experience from working with flow versus TypeScript, the error messages is one of the few things that I preferred how flow does it. Especially after flow v0.66 release...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improve structure, formatting, (human) parsability and readabiliy of errors","articleBody":"## Suggestion\r\n\r\nComparing my DX/UX experience from working with flow versus TypeScript, the error messages is one of the few things that I preferred how flow does it. Especially after flow v0.66 release. I believe they integrated alot from the [glow](https://github.com/jamiebuilds/glow) project. I would love it if typescript would adopt some for the formatting and helpful information that flow has in their error messages.\r\n\r\nThis blog post explains more about the flow 0.66 error message changes: http://medium.com/flow-type/better-flow-error-messages-for-the-javascript-ecosystem-73b6da948ae2\r\n\r\nHere are a couple of things I can think of that would help me find the actual problem/conflict that I can take action on:\r\n\r\n- prettifying/formatting the outputted types\r\n- syntax highlighting\r\n- bold/highlight the conflicting parts\r\n\r\n## Use Cases\r\n\r\nEvery time typescript finds an error (which us developers will have to read and understand and take action on :) ). I am talking both on the command line but also in IDEs like vscode. There is an issue related to this in the vscode repo here: https://github.com/Microsoft/vscode/issues/54503\r\n\r\n## Examples\r\n\r\nHeres and example of the ginormous unstructured blob of text that is a ts error with big types involved:\r\n\r\n```Type '({ expandedRowIds, orderBy, currentPage, filters: { columns: columnFilters, period, categoryIds }, ...restUrlQueryState }: Pick\u003cOverwrite\u003cDataGridUrlQueryStateUrlSerialized, { filters: { columns: { promotionName?: string | undefined; startDate?: string | undefined; endDate?: string | undefined; \"sumFacts.switching.amount\"?: string | undefined; \"sumFacts.netLift.profit\"?: string | undefined; \"sumFacts.netLift.amount\"?: string | undefined; }; period: Date[]; categoryIds: string[]; }; }>, \"hiddenColumnNames\" | \"filters\" | \"orderBy\" | \"expandedRowIds\" | \"currentPage\">, pageSize: any) => Dictionary\u003cany>' is not assignable to type '(a: Overwrite\u003cDataGridUrlQueryStateUrlSerialized, { filters: { columns: { promotionName?: string | undefined; startDate?: string | undefined; endDate?: string | undefined; \"sumFacts.switching.amount\"?: string | undefined; \"sumFacts.netLift.profit\"?: string | undefined; \"sumFacts.netLift.amount\"?: string | undefined; }; period: Date[]; categoryIds: string[]; }; }>) => DataGridQueryVariables'.```\r\n\r\n## Checklist\r\n\r\nMy suggestion meets these guidelines:\r\n\r\n* [ ] This wouldn't be a breaking change in existing TypeScript/JavaScript code\r\n* [ ] This wouldn't change the runtime behavior of existing JavaScript code\r\n* [ ] This could be implemented without emitting different JS based on the types of the expressions\r\n* [ ] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)\r\n* [ ] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).\r\n\r\n","author":{"url":"https://github.com/emattias","@type":"Person","name":"emattias"},"datePublished":"2018-12-17T09:30:17Z","url":"https://github.com/microsoft/TypeScript/issues/29059"}

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:6378a372-f0f5-55b3-6b2e-3762c83a8a88
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9E64:27D3AD:104F202:14BA18A:6B0111D5
html-safe-nonce274b699edb3891d327c1214dd405f578f9251f3eea88817ea9aa8d0db254d865
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTY0OjI3RDNBRDoxMDRGMjAyOjE0QkExOEE6NkIwMTExRDUiLCJ2aXNpdG9yX2lkIjoiMTI2NzE5ODM1ODM3Njc0NzQ3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc970e57e20d6820de22de43c97c5de6d056d2e719602f0c717524e6502a9a895
hovercard-subject-tagissue:391624367
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/29059/issue_layout
twitter:imagehttps://opengraph.githubassets.com/87883f16e02ad7363d4e2f83e3d0c38fe11d594215fa60a9107e3d7e47916154/microsoft/TypeScript/issues/29059
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/87883f16e02ad7363d4e2f83e3d0c38fe11d594215fa60a9107e3d7e47916154/microsoft/TypeScript/issues/29059
og:image:altSuggestion Comparing my DX/UX experience from working with flow versus TypeScript, the error messages is one of the few things that I preferred how flow does it. Especially after flow v0.66 release...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameemattias
hostnamegithub.com
expected-hostnamegithub.com
Nonecb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124
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
release2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/29059#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F29059
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%2F29059
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/29059
Reloadhttps://github.com/microsoft/TypeScript/issues/29059
Reloadhttps://github.com/microsoft/TypeScript/issues/29059
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests310 (310)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/29059
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/29059
Improve structure, formatting, (human) parsability and readabiliy of errorshttps://github.com/microsoft/TypeScript/issues/29059#top
CommittedThe team has roadmapped this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Committed%22
Domain: Error MessagesThe issue relates to error messaginghttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20Error%20Messages%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
https://github.com/emattias
Mattias Hällkvist (emattias)https://github.com/emattias
on Dec 17, 2018https://github.com/microsoft/TypeScript/issues/29059#issue-391624367
glowhttps://github.com/jamiebuilds/glow
http://medium.com/flow-type/better-flow-error-messages-for-the-javascript-ecosystem-73b6da948ae2http://medium.com/flow-type/better-flow-error-messages-for-the-javascript-ecosystem-73b6da948ae2
microsoft/vscode#54503https://github.com/microsoft/vscode/issues/54503
TypeScript's Design Goalshttps://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on Dec 17, 2018https://github.com/microsoft/TypeScript/issues/29059#issuecomment-447995879
microsoft/vscode#64566https://github.com/microsoft/vscode/issues/64566
Wesley Wigham (weswigham)https://github.com/weswigham
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
CommittedThe team has roadmapped this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Committed%22
Domain: Error MessagesThe issue relates to error messaginghttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20Error%20Messages%22
on Dec 17, 2018https://github.com/microsoft/TypeScript/issues/29059#event-2031364620
https://github.com/sjelfull
Fred Carlsen (sjelfull)https://github.com/sjelfull
on Nov 26, 2020https://github.com/microsoft/TypeScript/issues/29059#issuecomment-734185656
https://github.com/emattias
Mattias Hällkvist (emattias)https://github.com/emattias
on May 9, 2022https://github.com/microsoft/TypeScript/issues/29059#issuecomment-1121022519
Matt Pocock (@mattpocock)https://github.com/mattpocock
https://github.com/mattpocock/ts-error-translatorhttps://github.com/mattpocock/ts-error-translator
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/29059
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/29059
CommittedThe team has roadmapped this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Committed%22
Domain: Error MessagesThe issue relates to error messaginghttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20Error%20Messages%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.