Skip to content

Commit d72a043

Browse files
authored
Fix microsoft#11314: Expose insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces and insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces on protocol definiton (microsoft#11405) (microsoft#11410)
* Fix microsoft#11314: Expose `insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces` and `insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces` on protocol definiton * Make options optional
1 parent 7555f60 commit d72a043

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/server/protocol.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,12 @@ declare namespace ts.server.protocol {
606606
/** Defines space handling after opening and before closing non empty brackets. Default value is false. */
607607
insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets?: boolean;
608608

609+
/** Defines space handling before and after template string braces. Default value is false. */
610+
insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces?: boolean;
611+
612+
/** Defines space handling before and after JSX expression braces. Default value is false. */
613+
insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces?: boolean;
614+
609615
/** Defines whether an open brace is put onto a new line for functions or not. Default value is false. */
610616
placeOpenBraceOnNewLineForFunctions?: boolean;
611617

0 commit comments

Comments
 (0)