Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Oct 23, 2018

Make declaration-generating code public. Also makes the default format settings public so that this can be used easily.

readonly indentMultiLineObjectLiteralBeginningOnBlankLine?: boolean;
}

export function getDefaultFormatCodeSettings(newLineCharacter = "\n"): FormatCodeSettings {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of using default value can you do this in literal at newLineCharacter || "\n"

@ghost ghost merged commit eadf44d into master Oct 23, 2018
@ghost ghost deleted the generateTypesApi branch October 23, 2018 23:10
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant