René's URL Explorer Experiment


Title: getJSDocReturnType gets return type from `@type` tags by sandersn · Pull Request #25486 · microsoft/TypeScript · GitHub

Open Graph Title: getJSDocReturnType gets return type from `@type` tags by sandersn · Pull Request #25486 · microsoft/TypeScript

X Title: getJSDocReturnType gets return type from `@type` tags by sandersn · Pull Request #25486 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - getJSDocReturnType gets return type from `@type` tags by sandersn · Pull Request #25486 · microsoft/TypeScript

Open Graph Description: Previously, getJSDocReturnType did not check the @type tag for a type node that has a return type. Now it does. Fixes #25424 This PR was aided by TypeScript AST Viewer. Thanks David Sherret (@dsher...

X Description: Previously, getJSDocReturnType did not check the @type tag for a type node that has a return type. Now it does. Fixes #25424 This PR was aided by TypeScript AST Viewer. Thanks David Sherret (@dsher...

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

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:7a0d0cb4-c0f8-bcb2-37a0-eae3621420ee
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB66C:3A4875:221C779:2D6F700:6B018B60
html-safe-nonceca73b7d1cac0b39f32c05aaaab5338e933102793224a64f05582745ad0a6a349
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjZDOjNBNDg3NToyMjFDNzc5OjJENkY3MDA6NkIwMThCNjAiLCJ2aXNpdG9yX2lkIjoiNjkzODM2Mjk3NTE5MTQwMzM2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0638efae74ac9ec2be92c428002fb153c96c1949c0a7fea8db1ef6d7e2955cc0
hovercard-subject-tagpull_request:199804328
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/25486/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7e0532d3fa1d1be691dd1a03ddf7577a8b942110ae76e3f392e5fbd1f48451c7/microsoft/TypeScript/pull/25486
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7e0532d3fa1d1be691dd1a03ddf7577a8b942110ae76e3f392e5fbd1f48451c7/microsoft/TypeScript/pull/25486
og:image:altPreviously, getJSDocReturnType did not check the @type tag for a type node that has a return type. Now it does. Fixes #25424 This PR was aided by TypeScript AST Viewer. Thanks David Sherret (@dsher...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesandersn
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/25486#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F25486
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%2F25486
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/25486
Reloadhttps://github.com/microsoft/TypeScript/pull/25486
Reloadhttps://github.com/microsoft/TypeScript/pull/25486
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
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
masterhttps://github.com/microsoft/TypeScript/tree/master
jsdoc/get-return-type-from-type-tagshttps://github.com/microsoft/TypeScript/tree/jsdoc/get-return-type-from-type-tags
Conversationhttps://github.com/microsoft/TypeScript/pull/25486
Commits4 (4)https://github.com/microsoft/TypeScript/pull/25486/commits
Checkshttps://github.com/microsoft/TypeScript/pull/25486/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/25486/files
getJSDocReturnType gets return type from @type tagshttps://github.com/microsoft/TypeScript/pull/25486#top
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
masterhttps://github.com/microsoft/TypeScript/tree/master
jsdoc/get-return-type-from-type-tagshttps://github.com/microsoft/TypeScript/tree/jsdoc/get-return-type-from-type-tags
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Jul 6, 2018https://github.com/microsoft/TypeScript/pull/25486#issue-339014312
#25424https://github.com/microsoft/TypeScript/issues/25424
TypeScript AST Viewerhttps://ts-ast-viewer.com/
David Sherret (@dsherret)https://github.com/dsherret
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/25486
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
July 6, 2018 10:12https://github.com/microsoft/TypeScript/pull/25486#commits-pushed-4fab415
https://github.com/sandersn
get return type from @type tagshttps://github.com/microsoft/TypeScript/pull/25486/commits/4fab415a92b3ccc37f49e3116c7bc44135a0bae2
4fab415https://github.com/microsoft/TypeScript/pull/25486/commits/4fab415a92b3ccc37f49e3116c7bc44135a0bae2
https://github.com/sandersn
Improve doc comment of getJSDocReturnTypehttps://github.com/microsoft/TypeScript/pull/25486/commits/c7d422d8a91b196058e66b161aae0db49021d965
c7d422dhttps://github.com/microsoft/TypeScript/pull/25486/commits/c7d422d8a91b196058e66b161aae0db49021d965
https://github.com/sandersn
More type predicates in type guards!https://github.com/microsoft/TypeScript/pull/25486/commits/59e2e4103e242cfc7b986fb2a6dbcfa97a55485e
59e2e41https://github.com/microsoft/TypeScript/pull/25486/commits/59e2e4103e242cfc7b986fb2a6dbcfa97a55485e
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
July 6, 2018 17:23https://github.com/microsoft/TypeScript/pull/25486#event-1720739332
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Jul 6, 2018 https://github.com/microsoft/TypeScript/pull/25486#pullrequestreview-135094782
View reviewed changes https://github.com/microsoft/TypeScript/pull/25486/files/59e2e4103e242cfc7b986fb2a6dbcfa97a55485e
src/compiler/utilities.tshttps://github.com/microsoft/TypeScript/pull/25486/files/59e2e4103e242cfc7b986fb2a6dbcfa97a55485e#diff-1516c8349f7a625a2e4a2aa60f6bbe84e4b1a499128e8705d3087d893e01d367
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Jul 6, 2018https://github.com/microsoft/TypeScript/pull/25486#discussion_r200719091
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/25486
https://github.com/sandersn
Update API baselines with new documentation (?!)https://github.com/microsoft/TypeScript/pull/25486/commits/f21f6988cb8850a9b5b199b02aa1c4a1041c1a72
f21f698https://github.com/microsoft/TypeScript/pull/25486/commits/f21f6988cb8850a9b5b199b02aa1c4a1041c1a72
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Jul 6, 2018 https://github.com/microsoft/TypeScript/pull/25486#pullrequestreview-135096065
View reviewed changes https://github.com/microsoft/TypeScript/pull/25486/files/f21f6988cb8850a9b5b199b02aa1c4a1041c1a72
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
6589e86https://github.com/microsoft/TypeScript/commit/6589e867fed572df6d22b6ece99270610266e3f5
Jul 6, 2018https://github.com/microsoft/TypeScript/pull/25486#event-1720780333
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
July 6, 2018 17:46https://github.com/microsoft/TypeScript/pull/25486#event-1720780420
https://github.com/dsherret
David Sherret (dsherret)https://github.com/dsherret
Jul 6, 2018https://github.com/microsoft/TypeScript/pull/25486#issuecomment-403112537
Nathan Shively-Sanders (@sandersn)https://github.com/sandersn
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/25486
Jul 9, 2018 https://github.com/microsoft/TypeScript/pull/25486#ref-issue-339585336
In JS, return type of type reference in @type tag is ignored on function declarations. #25525 https://github.com/microsoft/TypeScript/issues/25525
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/25486#event-20415728522
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/25486#event-20415729226
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%2F25486
https://github.com/mhegazy
Mohamed Hegazy (mhegazy) https://github.com/mhegazy
https://github.com/microsoft/TypeScript/pull/25486/files/f21f6988cb8850a9b5b199b02aa1c4a1041c1a72
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/25486
https://github.com/sandersn
Nathan Shively-Sanders (sandersn) https://github.com/sandersn
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/25486
https://github.com/sandersn
https://github.com/dsherret
https://github.com/mhegazy
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.