René's URL Explorer Experiment


Title: Code flow analysis isn't smart enough · Issue #8270 · microsoft/TypeScript · GitHub

Open Graph Title: Code flow analysis isn't smart enough · Issue #8270 · microsoft/TypeScript

X Title: Code flow analysis isn't smart enough · Issue #8270 · microsoft/TypeScript

Description: typescript version: Version 1.9.0-dev.20160424 first looks like a bug: if (options.leftJoin) Object.keys(options.leftJoin).forEach(key => { qb.leftJoin(options.leftJoin[key], key); }); Gives TS2531: Object is possibly 'null' or 'undefine...

Open Graph Description: typescript version: Version 1.9.0-dev.20160424 first looks like a bug: if (options.leftJoin) Object.keys(options.leftJoin).forEach(key => { qb.leftJoin(options.leftJoin[key], key); }); Gives TS2531...

X Description: typescript version: Version 1.9.0-dev.20160424 first looks like a bug: if (options.leftJoin) Object.keys(options.leftJoin).forEach(key => { qb.leftJoin(options.leftJoin[key], key); }); Gives TS2...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Code flow analysis isn't smart enough","articleBody":"typescript version: _Version 1.9.0-dev.20160424_\n\nfirst looks like a bug:\n\n``` typescript\nif (options.leftJoin)\n    Object.keys(options.leftJoin).forEach(key => {\n        qb.leftJoin(options.leftJoin[key], key);\n    });\n```\n\nGives **TS2531: Object is possibly 'null' or 'undefined'.**, however error is not expected because of the `if (options.leftJoin)` check above.\n![num1](https://www.dropbox.com/s/p96abswim3y0wq5/Screenshot%202016-04-24%2014.47.55.png?dl=1)\n\nsecond:\n\n``` typescript\nconnect(options?: ConnectionOptions) {\n    if (!options)\n        options = {} as ConnectionOptions;\n\n    console.log(options.url);\n}\n```\n\nGives same **TS2531: Object is possibly 'null' or 'undefined'.**. Looks like expected behaviour because of original type of the options object. Solution is to define variable with a new type and without undefined. Maybe there is a smarter way to do it?\n![num2](https://www.dropbox.com/s/xx81c5231e8ac9n/Screenshot%202016-04-24%2014.57.42.png?dl=1)\n","author":{"url":"https://github.com/pleerock","@type":"Person","name":"pleerock"},"datePublished":"2016-04-24T10:02:39Z","url":"https://github.com/microsoft/TypeScript/issues/8270"}

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:4b8905d8-4db2-ff84-f1e0-cf7cee0a39e8
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAB34:291B58:23BCEAE:2D5901E:6B01BD69
html-safe-nonce87de922150fb02108be52cda813d50173517b45c3ee4f69a7950f8e962700d81
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjM0OjI5MUI1ODoyM0JDRUFFOjJENTkwMUU6NkIwMUJENjkiLCJ2aXNpdG9yX2lkIjoiNTA0MDMxODc4NzA4NjMwMjU2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5e85afb3214a63acc244324bb5a12863e9cd3c8b5ed3ba3afcb246eefd708af6
hovercard-subject-tagissue:150645993
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/8270/issue_layout
twitter:imagehttps://opengraph.githubassets.com/658c604e1c1f9818de2cd388a0580a596e57a2d8b03838688b67384e09e263b7/microsoft/TypeScript/issues/8270
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/658c604e1c1f9818de2cd388a0580a596e57a2d8b03838688b67384e09e263b7/microsoft/TypeScript/issues/8270
og:image:alttypescript version: Version 1.9.0-dev.20160424 first looks like a bug: if (options.leftJoin) Object.keys(options.leftJoin).forEach(key => { qb.leftJoin(options.leftJoin[key], key); }); Gives TS2531...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepleerock
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/8270#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F8270
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%2F8270
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/8270
Reloadhttps://github.com/microsoft/TypeScript/issues/8270
Reloadhttps://github.com/microsoft/TypeScript/issues/8270
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/8270
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/8270
Code flow analysis isn't smart enoughhttps://github.com/microsoft/TypeScript/issues/8270#top
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
TypeScript 2.0https://github.com/microsoft/TypeScript/milestone/1
https://github.com/pleerock
Umed Khudoiberdiev (pleerock)https://github.com/pleerock
on Apr 24, 2016https://github.com/microsoft/TypeScript/issues/8270#issue-150645993
https://camo.githubusercontent.com/9824f07d7cfce98a5af1ed4bac5838ee954bc6d858a0355480c29d6a48aaf7ec/68747470733a2f2f7777772e64726f70626f782e636f6d2f732f70393661627377696d3379307771352f53637265656e73686f74253230323031362d30342d323425323031342e34372e35352e706e673f646c3d31
https://camo.githubusercontent.com/99a1b0a5dcfb08b1ef80a90fdd0cec5229d5233610da5f3768b09609175e70d8/68747470733a2f2f7777772e64726f70626f782e636f6d2f732f78783831633532333165386163396e2f53637265656e73686f74253230323031362d30342d323425323031342e35372e34322e706e673f646c3d31
Nexthttps://github.com/microsoft/TypeScript/issues/8270?timeline_page=1
https://github.com/basarat
Basarat Ali Syed (basarat)https://github.com/basarat
on Apr 24, 2016https://github.com/microsoft/TypeScript/issues/8270#issuecomment-213927221
https://cloud.githubusercontent.com/assets/874898/14766818/8049e928-0a5a-11e6-80d7-88cd64349484.gif
https://github.com/tinganho
Tingan Ho (tinganho)https://github.com/tinganho
on Apr 24, 2016https://github.com/microsoft/TypeScript/issues/8270#issuecomment-213936011
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
on Apr 24, 2016https://github.com/microsoft/TypeScript/issues/8270#issuecomment-213969623
Umed Khudoiberdiev (@pleerock)https://github.com/pleerock
Basarat Ali Syed (@basarat)https://github.com/basarat
Tingan Ho (@tinganho)https://github.com/tinganho
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Needs More InfoThe issue still hasn't been fully clarifiedhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20More%20Info%22
on Apr 24, 2016https://github.com/microsoft/TypeScript/issues/8270#event-639058614
https://github.com/pleerock
Umed Khudoiberdiev (pleerock)https://github.com/pleerock
on Apr 24, 2016https://github.com/microsoft/TypeScript/issues/8270#issuecomment-213984183
Basarat Ali Syed (@basarat)https://github.com/basarat
https://camo.githubusercontent.com/0647409592360da34c0945ad29fad20885e9095bbd300821e9fc187b5f5edbf8/68747470733a2f2f7777772e64726f70626f782e636f6d2f732f3061716636637372646878637379762f53637265656e73686f74253230323031362d30342d323425323032302e32332e34312e706e673f646c3d31
https://github.com/pleerock
Umed Khudoiberdiev (pleerock)https://github.com/pleerock
on Apr 24, 2016https://github.com/microsoft/TypeScript/issues/8270#issuecomment-213987379
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
https://github.com/tinganho
Tingan Ho (tinganho)https://github.com/tinganho
on Apr 24, 2016https://github.com/microsoft/TypeScript/issues/8270#issuecomment-213993997
Umed Khudoiberdiev (@pleerock)https://github.com/pleerock
Basarat Ali Syed (@basarat)https://github.com/basarat
Umed Khudoiberdiev (@pleerock)https://github.com/pleerock
https://cloud.githubusercontent.com/assets/1324476/14768640/52424230-0a7a-11e6-949a-8cea4de761ad.png
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
on Apr 24, 2016https://github.com/microsoft/TypeScript/issues/8270#issuecomment-213995873
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
on Apr 24, 2016https://github.com/microsoft/TypeScript/issues/8270#issuecomment-213996497
Tingan Ho (@tinganho)https://github.com/tinganho
Umed Khudoiberdiev (@pleerock)https://github.com/pleerock
https://github.com/tinganho
Tingan Ho (tinganho)https://github.com/tinganho
on Apr 24, 2016https://github.com/microsoft/TypeScript/issues/8270#issuecomment-213996990
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Apr 24, 2016https://github.com/microsoft/TypeScript/issues/8270#issuecomment-214006173
https://github.com/basarat
Basarat Ali Syed (basarat)https://github.com/basarat
on Apr 24, 2016https://github.com/microsoft/TypeScript/issues/8270#issuecomment-214059923
Umed Khudoiberdiev (@pleerock)https://github.com/pleerock
https://github.com/TypeStrong/ntypescripthttps://github.com/TypeStrong/ntypescript
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
on Apr 25, 2016https://github.com/microsoft/TypeScript/issues/8270#issuecomment-214492532
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
on Apr 25, 2016https://github.com/microsoft/TypeScript/issues/8270#event-640537003
https://github.com/pleerock
Umed Khudoiberdiev (pleerock)https://github.com/pleerock
on Apr 26, 2016https://github.com/microsoft/TypeScript/issues/8270#issuecomment-214807137
https://github.com/RReverser
Ingvar Stepanyan (RReverser)https://github.com/RReverser
on Apr 29, 2016https://github.com/microsoft/TypeScript/issues/8270#issuecomment-215798223
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
Yui (@yuit)https://github.com/yuit
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Apr 29, 2016https://github.com/microsoft/TypeScript/issues/8270#issuecomment-215800478
Ingvar Stepanyan (@RReverser)https://github.com/RReverser
https://github.com/RReverser
Ingvar Stepanyan (RReverser)https://github.com/RReverser
on Apr 29, 2016https://github.com/microsoft/TypeScript/issues/8270#issuecomment-215801429
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
https://github.com/RReverser
Ingvar Stepanyan (RReverser)https://github.com/RReverser
on Apr 29, 2016https://github.com/microsoft/TypeScript/issues/8270#issuecomment-215802451
#8381https://github.com/microsoft/TypeScript/issues/8381
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Apr 29, 2016https://github.com/microsoft/TypeScript/issues/8270#issuecomment-215802526
https://github.com/RReverser
Ingvar Stepanyan (RReverser)https://github.com/RReverser
on Apr 29, 2016https://github.com/microsoft/TypeScript/issues/8270#issuecomment-215803700
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Apr 29, 2016https://github.com/microsoft/TypeScript/issues/8270#issuecomment-215805993
https://github.com/RReverser
Ingvar Stepanyan (RReverser)https://github.com/RReverser
on Apr 29, 2016https://github.com/microsoft/TypeScript/issues/8270#issuecomment-215809888
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Apr 29, 2016https://github.com/microsoft/TypeScript/issues/8270#issuecomment-215838832
#8381https://github.com/microsoft/TypeScript/issues/8381
https://github.com/RReverser
Ingvar Stepanyan (RReverser)https://github.com/RReverser
on Apr 29, 2016https://github.com/microsoft/TypeScript/issues/8270#issuecomment-215842481
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
https://github.com/gcnew
Marin Marinov (gcnew)https://github.com/gcnew
on May 19, 2016https://github.com/microsoft/TypeScript/issues/8270#issuecomment-220379071
https://github.com/108adams
Adam Kucharczyk (108adams)https://github.com/108adams
on Dec 5, 2016https://github.com/microsoft/TypeScript/issues/8270#issuecomment-264802943
https://github.com/RReverser
Ingvar Stepanyan (RReverser)https://github.com/RReverser
on Dec 8, 2016https://github.com/microsoft/TypeScript/issues/8270#issuecomment-265740347
Adam Kucharczyk (@108adams)https://github.com/108adams
microsofthttps://github.com/microsoft
on Jun 19, 2018https://github.com/microsoft/TypeScript/issues/8270#event-1689833269
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Yui (yuit)https://github.com/yuit
on Jun 19, 2018https://github.com/microsoft/TypeScript/issues/8270#event-1689833273
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/8270
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/8270
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
TypeScript 2.0https://github.com/microsoft/TypeScript/milestone/1
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.