Skip to content

Support using a comma as separator in type literals #40

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

Merged
merged 4 commits into from
Aug 13, 2020

Conversation

dsherret
Copy link
Member

@dsherret dsherret commented Aug 12, 2020

Adds the following configuration:

  • typeLiteral.separatorKind
  • typeLiteral.separatorKind.singleLine
  • typeLiteral.separatorKind.multiLine

With possible values "semiColons" or "commas". So for example:

"semiColons": "asi",
"typeLiteral.separatorKind.singleLine": "commas",

TODO:

  • Update schema file with changes.

Closes #11

@dsherret dsherret added the enhancement New feature or request label Aug 12, 2020
@dsherret dsherret merged commit ecd9f12 into master Aug 13, 2020
@dsherret dsherret deleted the comma_as_separator branch August 13, 2020 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeScript: Comma as separator for single-line type literal
1 participant