mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-17 00:34:47 -05:00
Fix #11314: Expose insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces and insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces on protocol definiton (#11405)
* Fix #11314: Expose `insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces` and `insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces` on protocol definiton * Make options optional
This commit is contained in:
6
src/server/protocol.d.ts
vendored
6
src/server/protocol.d.ts
vendored
@@ -591,6 +591,12 @@ declare namespace ts.server.protocol {
|
||||
/** Defines space handling after opening and before closing non empty brackets. Default value is false. */
|
||||
insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets?: boolean;
|
||||
|
||||
/** Defines space handling before and after template string braces. Default value is false. */
|
||||
insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces?: boolean;
|
||||
|
||||
/** Defines space handling before and after JSX expression braces. Default value is false. */
|
||||
insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces?: boolean;
|
||||
|
||||
/** Defines whether an open brace is put onto a new line for functions or not. Default value is false. */
|
||||
placeOpenBraceOnNewLineForFunctions?: boolean;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user