Title: No error for variable initializer that references itself with typeof · Issue #1902 · microsoft/TypeScript · GitHub
Open Graph Title: No error for variable initializer that references itself with typeof · Issue #1902 · microsoft/TypeScript
X Title: No error for variable initializer that references itself with typeof · Issue #1902 · microsoft/TypeScript
Description: Per the newest spec in #1878: 5.1.1 When a variable declaration has a type annotation, it is an error for that type annotation to use the typeof operator to reference the variable being declared. We haven't implemented this check though,...
Open Graph Description: Per the newest spec in #1878: 5.1.1 When a variable declaration has a type annotation, it is an error for that type annotation to use the typeof operator to reference the variable being declared. W...
X Description: Per the newest spec in #1878: 5.1.1 When a variable declaration has a type annotation, it is an error for that type annotation to use the typeof operator to reference the variable being declared. W...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/1902
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"No error for variable initializer that references itself with typeof","articleBody":"Per the newest spec in #1878:\n\n5.1.1\n_When a variable declaration has a type annotation, it is an error for that type annotation to use the typeof operator to reference the variable being declared._\n\nWe haven't implemented this check though, should be in a test for #1898.\n","author":{"url":"https://github.com/danquirk","@type":"Person","name":"danquirk"},"datePublished":"2015-02-03T01:23:20Z","url":"https://github.com/microsoft/TypeScript/issues/1902"}
| 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:c63aad88-e396-d95d-6e76-e63f7a69e493 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C628:3305E8:C7A8E:11B314:6AFBFB30 |
| html-safe-nonce | e403d8b9efbc1b6e830dd3ac378e9a6ccc05f150885beec9b29afa7632413b5a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjI4OjMzMDVFODpDN0E4RToxMUIzMTQ6NkFGQkZCMzAiLCJ2aXNpdG9yX2lkIjoiNDQ0MDI2MzcyNjQzMTIwNjE5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1c94f73a73e5452b9dd7a95e3102d6aa27145551063bc86a25f6716c49eabe7f |
| hovercard-subject-tag | issue:56320219 |
| 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/1902/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d84ae88e0ffdca3f8c6b226bd59072bff75056679c40f38849ddb9bb51ed06db/microsoft/TypeScript/issues/1902 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d84ae88e0ffdca3f8c6b226bd59072bff75056679c40f38849ddb9bb51ed06db/microsoft/TypeScript/issues/1902 |
| og:image:alt | Per the newest spec in #1878: 5.1.1 When a variable declaration has a type annotation, it is an error for that type annotation to use the typeof operator to reference the variable being declared. W... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | danquirk |
| hostname | github.com |
| expected-hostname | github.com |
| None | fa74413a1d84dac536fcca0740780bcbd3207bafec0e51873b73ff8e8cca032f |
| 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 | b3b5633a74535d9c23385512d534c66c8fde1907 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width