Title: Flag for strict default function `this` types for call-site and assignability checking (`--strictThis`) · Issue #7968 · microsoft/TypeScript · GitHub
Open Graph Title: Flag for strict default function `this` types for call-site and assignability checking (`--strictThis`) · Issue #7968 · microsoft/TypeScript
X Title: Flag for strict default function `this` types for call-site and assignability checking (`--strictThis`) · Issue #7968 · microsoft/TypeScript
Description: #6018 was originally going to add a --strictThis flag that made function this types default to void or the enclosing class (instead of any) for purposes of call-site and assignability checking, but that functionality was dropped (details...
Open Graph Description: #6018 was originally going to add a --strictThis flag that made function this types default to void or the enclosing class (instead of any) for purposes of call-site and assignability checking, but...
X Description: #6018 was originally going to add a --strictThis flag that made function this types default to void or the enclosing class (instead of any) for purposes of call-site and assignability checking, but...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/7968
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Flag for strict default function `this` types for call-site and assignability checking (`--strictThis`)","articleBody":"#6018 was originally going to add a `--strictThis` flag that made function `this` types default to `void` or the enclosing class (instead of `any`) for purposes of call-site and assignability checking, but that functionality was dropped ([details](https://github.com/Microsoft/TypeScript/issues/6018#issuecomment-207479337)). This is a follow-up suggestion for the dropped functionality, whatever the flag ends up being named.\n","author":{"url":"https://github.com/mattmccutchen","@type":"Person","name":"mattmccutchen"},"datePublished":"2016-04-08T18:23:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":14},"url":"https://github.com/7968/TypeScript/issues/7968"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d970e79d-dfa0-bc40-3809-73ea3926ac2e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 838C:1BFA27:1CFD68:289732:6A61FCDD |
| html-safe-nonce | f24896f26e64382099adba3c4dfe283c622771ab6198928e65d842f8faf44f48 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzhDOjFCRkEyNzoxQ0ZENjg6Mjg5NzMyOjZBNjFGQ0REIiwidmlzaXRvcl9pZCI6IjUzODI3NDM5MzI0NDY4MzM4ODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a62c9cba035e200905b1c510f761036fb31295c92eeac2b8ce0b525ac972ec61 |
| hovercard-subject-tag | issue:147001687 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/7968/issue_layout |
| twitter:image | https://opengraph.githubassets.com/52a82549029f3e88d9996f744466a9f350c9cfc88fbcb4889d76b6829f5685ac/microsoft/TypeScript/issues/7968 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/52a82549029f3e88d9996f744466a9f350c9cfc88fbcb4889d76b6829f5685ac/microsoft/TypeScript/issues/7968 |
| og:image:alt | #6018 was originally going to add a --strictThis flag that made function this types default to void or the enclosing class (instead of any) for purposes of call-site and assignability checking, but... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mattmccutchen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9e41a6fd863e96b9c7e9185dc317bf107dbbf8cb10efd6dea957211963f33775 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2ed5e9c44acb35dcc1d752e449d2a6f7a6164b7b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width