mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-14 19:16:17 -06:00
Fix #11314: Expose insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces and insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces on protocol definiton (#11405) (#11410)
* Fix #11314: Expose `insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces` and `insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces` on protocol definiton * Make options optional
This commit is contained in:
parent
7555f6028e
commit
d72a0430ca
6
src/server/protocol.d.ts
vendored
6
src/server/protocol.d.ts
vendored
@ -606,6 +606,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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user