René's URL Explorer Experiment


Title: [API Question] Is there a type resolution depth limit difference between compiling and running the language service? · Issue #29511 · microsoft/TypeScript · GitHub

Open Graph Title: [API Question] Is there a type resolution depth limit difference between compiling and running the language service? · Issue #29511 · microsoft/TypeScript

X Title: [API Question] Is there a type resolution depth limit difference between compiling and running the language service? · Issue #29511 · microsoft/TypeScript

Description: TS 3.3.0-dev.20190103 I don't exactly have a minimal repro but I figured I'd ask my question first. I'm experiencing a problem that I can only think is because TS is "giving up" on resolving the type in the IDE. But it resolves the type ...

Open Graph Description: TS 3.3.0-dev.20190103 I don't exactly have a minimal repro but I figured I'd ask my question first. I'm experiencing a problem that I can only think is because TS is "giving up" on resolving the ty...

X Description: TS 3.3.0-dev.20190103 I don't exactly have a minimal repro but I figured I'd ask my question first. I'm experiencing a problem that I can only think is because TS is "giving up&quo...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[API Question] Is there a type resolution depth limit difference between compiling and running the language service?","articleBody":"TS 3.3.0-dev.20190103\r\n\r\nI don't exactly have a minimal repro but I figured I'd ask my question first.\r\n\r\nI'm experiencing a problem that I can only think is because TS is \"giving up\" on resolving the type in the IDE. But it resolves the type correctly during compile time.\r\n\r\n### IDE\r\n\r\nI'm currently seeing this in my IDE,\r\n\r\n![image](https://user-images.githubusercontent.com/5655961/51492804-0a29a980-1d81-11e9-95bd-530a0e26d05c.png)\r\n\r\nAnd it seems to think that the following type, `ReturnType\u003cSelectDelegateT>[index]` is `any`.\r\n\r\nIt also thinks that `ReturnType\u003cSelectDelegateT>` is `any`.\r\n\r\nHowever, when I just use `SelectDelegateT`, it gives me the full type, which is correct.\r\n\r\n### Compile-time\r\n\r\nIt was really weird because I was pretty sure I shouldn't get an error. I gave up on the IDE and decided to run `tsc`. I configured it to have `noEmitOnError : true`.\r\n\r\nSo, if there really is an error, it should spit out the same error as the IDE and not emit any types.\r\n\r\nHowever, `tsc` ran fine. No errors.\r\n\r\n![image](https://user-images.githubusercontent.com/5655961/51492961-9a67ee80-1d81-11e9-8b9f-490c94821a73.png)\r\n\r\nI checked the emitted `.d.ts` file and the emitted type was resolved correctly.\r\n\r\n-----\r\n\r\nSo... Is my hunch right? Is there a \"depth limit\" difference between the language service that runs for the IDE (VS Code) vs the compiler?\r\n\r\nAnd if so, is there a way for me to make it so that both have the same limit?\r\nIf possible, I'd like to make the limit as large as possible for both VS code and during compile-time.","author":{"url":"https://github.com/AnyhowStep","@type":"Person","name":"AnyhowStep"},"datePublished":"2019-01-21T18:41:02Z","url":"https://github.com/microsoft/TypeScript/issues/29511"}

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:32fe0ab1-cad9-59e2-cf04-ab6e4b4c8e88
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9F94:2E5652:275253D:320D6C9:6B019A63
html-safe-nonce716b479885f0bc2a51ffdda899a531e758a3db3b6694a824b638cd8b9f71bcb6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Rjk0OjJFNTY1MjoyNzUyNTNEOjMyMEQ2Qzk6NkIwMTlBNjMiLCJ2aXNpdG9yX2lkIjoiMzk4ODUzOTc0MjIxMDg1NzU3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac264ad1ed9b9b59c68f093e673752cae1a63ebca5d0a791d3e09501e3432346b7
hovercard-subject-tagissue:401470868
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/29511/issue_layout
twitter:imagehttps://opengraph.githubassets.com/505f656f89aabcb0ff6b33e7c6dd732507c7a9be88b8e74defce51cf8ac3838d/microsoft/TypeScript/issues/29511
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/505f656f89aabcb0ff6b33e7c6dd732507c7a9be88b8e74defce51cf8ac3838d/microsoft/TypeScript/issues/29511
og:image:altTS 3.3.0-dev.20190103 I don't exactly have a minimal repro but I figured I'd ask my question first. I'm experiencing a problem that I can only think is because TS is "giving up" on resolving the ty...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAnyhowStep
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/29511#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F29511
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%2F29511
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/29511
Reloadhttps://github.com/microsoft/TypeScript/issues/29511
Reloadhttps://github.com/microsoft/TypeScript/issues/29511
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
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/29511
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/29511
[API Question] Is there a type resolution depth limit difference between compiling and running the language service?https://github.com/microsoft/TypeScript/issues/29511#top
Needs InvestigationThis issue needs a team member to investigate its status.https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20Investigation%22
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Jan 21, 2019https://github.com/microsoft/TypeScript/issues/29511#issue-401470868
https://user-images.githubusercontent.com/5655961/51492804-0a29a980-1d81-11e9-95bd-530a0e26d05c.png
https://user-images.githubusercontent.com/5655961/51492961-9a67ee80-1d81-11e9-8b9f-490c94821a73.png
Nexthttps://github.com/microsoft/TypeScript/issues/29511?timeline_page=1
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Jan 21, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-456168514
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Jan 21, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-456172342
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Jan 21, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-456177464
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Jan 22, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-456545758
Wesley Wigham (weswigham)https://github.com/weswigham
Needs InvestigationThis issue needs a team member to investigate its status.https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20Investigation%22
on Jan 23, 2019https://github.com/microsoft/TypeScript/issues/29511#event-2093016141
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Jan 25, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-457737810
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Jan 25, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-457739648
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Jan 25, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-457741277
Wesley Wigham (@weswigham)https://github.com/weswigham
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Jan 25, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-457759753
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on Jan 25, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-457761287
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Jan 25, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-457761445
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Jan 25, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-457762432
https://github.com/AnyhowStep/typed-orm/tree/v3https://github.com/AnyhowStep/typed-orm/tree/v3
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Jan 25, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-457762977
https://github.com/AnyhowStep/typed-orm/blob/v3/test/compile-time/input/query/select/from-table.tshttps://github.com/AnyhowStep/typed-orm/blob/v3/test/compile-time/input/query/select/from-table.ts
https://github.com/AnyhowStep/typed-orm/blob/v3/test/compile-time/expected-output/query/select/from-table.d.tshttps://github.com/AnyhowStep/typed-orm/blob/v3/test/compile-time/expected-output/query/select/from-table.d.ts
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Jan 25, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-457770819
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on Jan 25, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-457774973
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Feb 12, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-462627114
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Feb 12, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-462627634
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Feb 12, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-462639712
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Feb 15, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-464147409
https://user-images.githubusercontent.com/5655961/52875608-b9f4fb80-3122-11e9-9f7b-333fb84d6539.png
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Feb 15, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-464162598
https://github.com/millsp
pierre (millsp)https://github.com/millsp
on Mar 2, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-468922702
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
Wesley Wigham (@weswigham)https://github.com/weswigham
AnyhowStephttps://github.com/AnyhowStep
https://medium.freecodecamp.org/typescript-curry-ramda-types-f747e99744abhttps://medium.freecodecamp.org/typescript-curry-ramda-types-f747e99744ab
https://github.com/pirix-gh/medium/tree/master/src/types-curry-ramdahttps://github.com/pirix-gh/medium/tree/master/src/types-curry-ramda
#30188https://github.com/microsoft/TypeScript/issues/30188
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Mar 2, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-468932733
https://github.com/millsp
pierre (millsp)https://github.com/millsp
on Mar 2, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-468936194
AnyhowStephttps://github.com/AnyhowStep
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Jun 23, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-504739047
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Jun 23, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-504739291
https://github.com/pirix-gh/ts-toolbelthttps://github.com/pirix-gh/ts-toolbelt
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Jun 23, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-504739657
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Jun 26, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-506001311
#32079https://github.com/microsoft/TypeScript/pull/32079
https://github.com/AnyhowStep
AnyhowStephttps://github.com/AnyhowStep
on Aug 5, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-518096951
#13052https://github.com/microsoft/TypeScript/issues/13052
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Aug 22, 2019https://github.com/microsoft/TypeScript/issues/29511#issuecomment-524071586
AnyhowStephttps://github.com/AnyhowStep
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Aug 22, 2019https://github.com/microsoft/TypeScript/issues/29511#event-2577811272
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/29511
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/29511
Needs InvestigationThis issue needs a team member to investigate its status.https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20Investigation%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.