[js-beautify] add space_in_empty_paren property (#35491)

This commit is contained in:
Gavin Rehkemper 2019-05-15 14:32:37 -05:00 committed by Nathan Shively-Sanders
parent 7275a4d75a
commit 53c650287b
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
// Type definitions for js_beautify 1.8.2
// Type definitions for js_beautify 1.8.3
// Project: https://github.com/beautify-web/js-beautify/
// Definitions by: Josh Goldberg <https://github.com/JoshuaKGoldberg>, Hans Windhoff <https://github.com/hansrwindhoff>
// Definitions by: Josh Goldberg <https://github.com/JoshuaKGoldberg>, Hans Windhoff <https://github.com/hansrwindhoff>, Gavin Rehkemper <https://github.com/gavinr/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface JsBeautifyOptions {
@ -17,6 +17,7 @@ interface JsBeautifyOptions {
keep_array_indentation?: boolean;
keep_function_indentation?: boolean;
space_before_conditional?: boolean;
space_in_empty_paren?: boolean;
break_chained_methods?: boolean;
eval_code?: boolean;
unescape_strings?: boolean;

View File

@ -25,6 +25,7 @@ var full: string = js_beautify(
"keep_array_indentation": false,
"keep_function_indentation": false,
"space_before_conditional": true,
"space_in_empty_paren": true,
"break_chained_methods": false,
"eval_code": false,
"unescape_strings": false,