Title: noImplicitAny incorrectly permits 'any' when returned via arrow function · Issue #7220 · microsoft/TypeScript · GitHub
Open Graph Title: noImplicitAny incorrectly permits 'any' when returned via arrow function · Issue #7220 · microsoft/TypeScript
X Title: noImplicitAny incorrectly permits 'any' when returned via arrow function · Issue #7220 · microsoft/TypeScript
Description: Apologies for the vague title, I can't quite pin down the cause of this, hence the poor wording $ tsc --version 1.9.0-dev.20160208 The problem is best described using the following example: // using --noImplicitAny let a = undefined; // ...
Open Graph Description: Apologies for the vague title, I can't quite pin down the cause of this, hence the poor wording $ tsc --version 1.9.0-dev.20160208 The problem is best described using the following example: // usin...
X Description: Apologies for the vague title, I can't quite pin down the cause of this, hence the poor wording $ tsc --version 1.9.0-dev.20160208 The problem is best described using the following example: // ...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/7220
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"noImplicitAny incorrectly permits 'any' when returned via arrow function","articleBody":"_Apologies for the vague title, I can't quite pin down the cause of this, hence the poor wording_\n\n```\n$ tsc --version\n1.9.0-dev.20160208\n```\n\nThe problem is best described using the following example:\n\n``` typescript\n// using --noImplicitAny\n\nlet a = undefined; // OK: error as expected: Variable 'a' implicitly has an 'any' type.\n\nfunction mine\u003cT>(meth: () => T): T {\n return meth();\n}\n\n// **Problem**: x has type 'any' below\n// Should be a compiler error\nlet x = mine(() => {\n return undefined;\n});\n```\n","author":{"url":"https://github.com/myitcv","@type":"Person","name":"myitcv"},"datePublished":"2016-02-24T16:04:56Z","url":"https://github.com/microsoft/TypeScript/issues/7220"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:10280203-6d87-977f-4dcd-bb96f89758cb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E7B0:62283:3910E8:4D7788:6B00C6E9 |
| html-safe-nonce | 0865f59f9f0b5922a06af8d9bd3a9231bc810cccfbd0233f84003ea0a40a0e33 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0IwOjYyMjgzOjM5MTBFODo0RDc3ODg6NkIwMEM2RTkiLCJ2aXNpdG9yX2lkIjoiMTU4MTUxMDk4ODU4NTI4OTQ0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | eb602460164e752917f8d429dd001c43c0cf50dfc38370be53fa7eae86f69ac6 |
| hovercard-subject-tag | issue:136104178 |
| 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/7220/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d34798e323a1a139d382a3cdd68e4800b5974b41ea48e6bec531be6ae482e7ff/microsoft/TypeScript/issues/7220 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d34798e323a1a139d382a3cdd68e4800b5974b41ea48e6bec531be6ae482e7ff/microsoft/TypeScript/issues/7220 |
| og:image:alt | Apologies for the vague title, I can't quite pin down the cause of this, hence the poor wording $ tsc --version 1.9.0-dev.20160208 The problem is best described using the following example: // usin... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | myitcv |
| hostname | github.com |
| expected-hostname | github.com |
| None | 98dc00e171c204462a6f367482a0f8c3c6b5dbca99cd7390e82d2df49ce096e4 |
| 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 | ef013399cf0a3c324bea644a685d7c1e0f06b5b7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width