Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add generateTypesForModule to public API#28069

Merged
2 commits merged into
mastermicrosoft/TypeScript:masterfrom
generateTypesApimicrosoft/TypeScript:generateTypesApiCopy head branch name to clipboard
Oct 23, 2018
Merged

Add generateTypesForModule to public API#28069
2 commits merged into
mastermicrosoft/TypeScript:masterfrom
generateTypesApimicrosoft/TypeScript:generateTypesApiCopy head branch name to clipboard

Conversation

@ghost

@ghost ghost commented Oct 23, 2018

Copy link
Copy Markdown

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

Comment thread src/services/types.ts Outdated
readonly indentMultiLineObjectLiteralBeginningOnBlankLine?: boolean;
}

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

Copy link
Copy Markdown
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
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.