Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow semicolon or line break as delimiter in object literal type #87

Closed
golopot opened this issue Sep 20, 2019 · 0 comments · Fixed by #93
Closed

Allow semicolon or line break as delimiter in object literal type #87

golopot opened this issue Sep 20, 2019 · 0 comments · Fixed by #93

Comments

@golopot
Copy link

golopot commented Sep 20, 2019

Typescript object literals types can be written in 3 styles. Currently only comma delimiter is recognized (and trailing comma does not work):

type foo = {
  a: number;
  b: number;
}

type foo = {
  a: number,
  b: number,
}

type foo = {
  a: number
  b: number
}
brettz9 added a commit to brettz9/jsdoctypeparser that referenced this issue Oct 4, 2019
This was referenced Oct 4, 2019
brettz9 added a commit to brettz9/jsdoctypeparser that referenced this issue Oct 4, 2019
brettz9 added a commit to brettz9/jsdoctypeparser that referenced this issue Oct 4, 2019
brettz9 added a commit to brettz9/jsdoctypeparser that referenced this issue Oct 5, 2019
brettz9 added a commit to brettz9/jsdoctypeparser that referenced this issue Oct 5, 2019
brettz9 added a commit to brettz9/jsdoctypeparser that referenced this issue Oct 5, 2019
brettz9 added a commit to brettz9/jsdoctypeparser that referenced this issue Oct 5, 2019
brettz9 added a commit to brettz9/jsdoctypeparser that referenced this issue Oct 6, 2019
brettz9 added a commit that referenced this issue Oct 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants