René's URL Explorer Experiment


Title: Design Meeting Notes, 3/31/2018 · Issue #23045 · microsoft/TypeScript · GitHub

Open Graph Title: Design Meeting Notes, 3/31/2018 · Issue #23045 · microsoft/TypeScript

X Title: Design Meeting Notes, 3/31/2018 · Issue #23045 · microsoft/TypeScript

Description: global JS PR: #22891 issues: type: #19816 value (TC39): #12902 namespace: #983 Issue comes in the context of recognizing assignments to properties on this or window as global declarations. We need way to refer to the global type, e.g. de...

Open Graph Description: global JS PR: #22891 issues: type: #19816 value (TC39): #12902 namespace: #983 Issue comes in the context of recognizing assignments to properties on this or window as global declarations. We need ...

X Description: global JS PR: #22891 issues: type: #19816 value (TC39): #12902 namespace: #983 Issue comes in the context of recognizing assignments to properties on this or window as global declarations. We need ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Design Meeting Notes, 3/31/2018","articleBody":"\r\n# global\r\n* JS\r\n  * PR: https://github.com/Microsoft/TypeScript/pull/22891\r\n* issues:\r\n  * type: https://github.com/Microsoft/TypeScript/issues/19816\r\n  * value (TC39): https://github.com/Microsoft/TypeScript/issues/12902\r\n  * namespace: https://github.com/Microsoft/TypeScript/issues/983\r\n\r\nIssue comes in the context of recognizing assignments to properties on `this` or `window` as global declarations.\r\nWe need way to refer to the global type, e.g. `declare var window: Window & global;` for DOM.\r\nWe have a precedence in the `declare global { .. }` support.\r\n\r\nSome options:\r\n```ts\r\n// use new `import(\"module\")` syntax with `global` instead\r\nvar window: Window & import(global);\r\n\r\n// or no operand at all\r\nvar nan: typeof import().NAN;\r\n\r\n// import.meta?\r\nimport.meta.global\r\n\r\n// C++ anyone?\r\nvar x: global::NaN\r\n\r\n// call it `global` or just `Global`\r\nvar x1: Global;\r\nvar x1: typeof Global;\r\nvar x1: Global.Array\u003cnumber>\r\n\r\nvar x1: Global[\"NaN\"];\r\n\r\nvar x1: typeof Global.NaN;\r\n```\r\n\r\nTC39 has been looking into a name for the value side of global https://github.com/tc39/proposal-global, the proposal is at stage 3.\r\nThe proposal has stalled on the choice of the variable name, `global` seems to be already in use.\r\n\r\n@rbuckton contacted the proposal champion (@ljharb), and the proposal is still active. there are few names proposed at this point.\r\n\r\nConclusion, wait for TC39 to pick a name, and then use that in both type and value positions.\r\n\r\n# Resolving .json files\r\n\r\n* PR: https://github.com/Microsoft/TypeScript/pull/22167\r\n* issue: https://github.com/Microsoft/TypeScript/issues/7071\r\n\r\n* Concerns:\r\n  * .json files can be large, this can impact performance of a compilation\r\n    * should we put it under a switch?\r\n        * probably\r\n    * limit the file size, and if larger than limt, return any.. implicit any maybe\r\n        * does not seem right\r\n        * files can be huge\r\n        * many of them\r\n        * but it is useful for completions..\r\n  * it is good for language service, and for .js file experience\r\n* no contextual type here, do we need a way to \"impose\" a type on the .json file?\r\n  * seems like an orthogonal issue\r\n* taking the discussion offline until we address the concerns above\r\n\r\n# Allow `infer` types in expression type argument positions\r\n\r\n* PR: https://github.com/Microsoft/TypeScript/pull/22368\r\n\r\n* @weswigham, this is probably too much power, not clear what use cases require that.\r\n* the change is simple, relatively, thought\r\n* practically gives you associated types\r\n\r\n* We still need named type parameters, what to do when you wnat to specify the fifth type parameter and get everything inferred\r\n* we already have a proposal here, no need for another proposal\r\n\r\n# `Array.isArray` and `ReadonlyArray`\r\n\r\n* PR: https://github.com/Microsoft/TypeScript/pull/22942\r\n* it is a breaking change, we are just trading one set of problems with another\r\n* should not change it\r\n* the core issue is that `Array` and `ReadonlyArray` are two distinct types. we need to think about a `readonly` modifier again\r\n\r\n# Variadic types\r\n\r\n* look at `bindCallback` in https://github.com/Microsoft/TypeScript/issues/22952#issuecomment-377338534\r\n* we need:\r\n   * a concept of an infinite tuple\r\n   * a way to declare optional members in a tuple\r\n   * a grand unified theory of tuples and function parameters\r\n   * make all of that work in higher order","author":{"url":"https://github.com/mhegazy","@type":"Person","name":"mhegazy"},"datePublished":"2018-03-31T18:58:03Z","url":"https://github.com/microsoft/TypeScript/issues/23045"}

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:e95b4679-2a38-d09c-07d1-bbd9badc44a9
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id970A:21BD98:1F0CB9F:2765D95:6B01A21B
html-safe-nonce372d1e53d1c1ef693642665d53c4e27117dc02515d244ed77b4228d6723d33fd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzBBOjIxQkQ5ODoxRjBDQjlGOjI3NjVEOTU6NkIwMUEyMUIiLCJ2aXNpdG9yX2lkIjoiODk2MTA1NDUyMzA0NTAyODM3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac379cd1f2c72fe3443eed7079d3d881f7f3a9632e30fcd3a100c1218aca2b79f4
hovercard-subject-tagissue:310263623
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/23045/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4ee95ba767fc8136ae6fffc6c38849cbe44a1f090e1cb684d67174abac02009f/microsoft/TypeScript/issues/23045
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4ee95ba767fc8136ae6fffc6c38849cbe44a1f090e1cb684d67174abac02009f/microsoft/TypeScript/issues/23045
og:image:altglobal JS PR: #22891 issues: type: #19816 value (TC39): #12902 namespace: #983 Issue comes in the context of recognizing assignments to properties on this or window as global declarations. We need ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemhegazy
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/23045#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F23045
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%2F23045
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/23045
Reloadhttps://github.com/microsoft/TypeScript/issues/23045
Reloadhttps://github.com/microsoft/TypeScript/issues/23045
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/23045
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/23045
Design Meeting Notes, 3/31/2018https://github.com/microsoft/TypeScript/issues/23045#top
Design NotesNotes from our design meetingshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Design%20Notes%22
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Mar 31, 2018https://github.com/microsoft/TypeScript/issues/23045#issue-310263623
Bind toplevel this assignments as global declarations #22891https://github.com/microsoft/TypeScript/pull/22891
Expose global declarations on window #19816https://github.com/microsoft/TypeScript/issues/19816
Add support for ES global proposal #12902https://github.com/microsoft/TypeScript/issues/12902
Global type references #983https://github.com/microsoft/TypeScript/issues/983
https://github.com/tc39/proposal-globalhttps://github.com/tc39/proposal-global
Ron Buckton (@rbuckton)https://github.com/rbuckton
Jordan Harband (@ljharb)https://github.com/ljharb
Resolve the modue names with "modulename.json" to json files when doing node module resolution #22167https://github.com/microsoft/TypeScript/pull/22167
In JS, importing JSON should not give an error #7071https://github.com/microsoft/TypeScript/issues/7071
WIP - Allow infer types in expression type argument positions #22368https://github.com/microsoft/TypeScript/pull/22368
Wesley Wigham (@weswigham)https://github.com/weswigham
Add support for ReadonlyArray to Array.isArray #22942https://github.com/microsoft/TypeScript/pull/22942
Unable to infer types from callback in bindCallback function for RxJS #22952 (comment)https://github.com/microsoft/TypeScript/issues/22952#issuecomment-377338534
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Design NotesNotes from our design meetingshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Design%20Notes%22
on Mar 31, 2018https://github.com/microsoft/TypeScript/issues/23045#event-1550838862
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Mar 31, 2018https://github.com/microsoft/TypeScript/issues/23045#event-1550839818
microsofthttps://github.com/microsoft
on Jul 25, 2018https://github.com/microsoft/TypeScript/issues/23045#event-1753829997
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/23045
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/23045
Design NotesNotes from our design meetingshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Design%20Notes%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.