Title: Question: Grammar change to allow `,` in type annotations · Issue #6604 · microsoft/TypeScript · GitHub
Open Graph Title: Question: Grammar change to allow `,` in type annotations · Issue #6604 · microsoft/TypeScript
X Title: Question: Grammar change to allow `,` in type annotations · Issue #6604 · microsoft/TypeScript
Description: I couldn't find any issue regarding this, but the following works now: var foo: {a:any,b:any} // notice the `,` Was this change intentional. Should I consider it stable? I see that the team still uses ; e.g. check the interface members i...
Open Graph Description: I couldn't find any issue regarding this, but the following works now: var foo: {a:any,b:any} // notice the `,` Was this change intentional. Should I consider it stable? I see that the team still u...
X Description: I couldn't find any issue regarding this, but the following works now: var foo: {a:any,b:any} // notice the `,` Was this change intentional. Should I consider it stable? I see that the team sti...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/6604
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Question: Grammar change to allow `,` in type annotations","articleBody":"I couldn't find any issue regarding this, but the following works now: \n\n``` ts\nvar foo: {a:any,b:any} // notice the `,` \n```\n\nWas this change intentional. Should I consider it stable?\n\nI see that the team still uses `;` e.g. check the interface members in https://github.com/Microsoft/TypeScript/blob/master/src/compiler/types.ts :rose:\n","author":{"url":"https://github.com/basarat","@type":"Person","name":"basarat"},"datePublished":"2016-01-25T03:24:44Z","url":"https://github.com/microsoft/TypeScript/issues/6604"}
| 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:6c4b9e15-c9dd-77b1-9e48-cd942fd5259b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D29E:2652DC:2686C7D:3115F53:6B01816E |
| html-safe-nonce | 455077512e07606cff306ad49921666b244f590c662f6d621e3806c511efc2e6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjlFOjI2NTJEQzoyNjg2QzdEOjMxMTVGNTM6NkIwMTgxNkUiLCJ2aXNpdG9yX2lkIjoiNjM1NjM0NzkxMTA1MTI0Nzk4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6582296a45979a4b28448696c9430900a7e41a38ad28212ecc729a281ae582ab |
| hovercard-subject-tag | issue:128451465 |
| 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/6604/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9a2c7567b31d047d1d375ddf205003d0d146d3a664cec9d400b9d571df2097ed/microsoft/TypeScript/issues/6604 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9a2c7567b31d047d1d375ddf205003d0d146d3a664cec9d400b9d571df2097ed/microsoft/TypeScript/issues/6604 |
| og:image:alt | I couldn't find any issue regarding this, but the following works now: var foo: {a:any,b:any} // notice the `,` Was this change intentional. Should I consider it stable? I see that the team still u... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | basarat |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width