diff --git a/types/js-beautify/index.d.ts b/types/js-beautify/index.d.ts index 7f5453a1a9..02a970d9ea 100644 --- a/types/js-beautify/index.d.ts +++ b/types/js-beautify/index.d.ts @@ -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 , Hans Windhoff +// Definitions by: Josh Goldberg , Hans Windhoff , Gavin Rehkemper // 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; diff --git a/types/js-beautify/js-beautify-tests.ts b/types/js-beautify/js-beautify-tests.ts index 34cd9d8f13..3126ba6aaf 100644 --- a/types/js-beautify/js-beautify-tests.ts +++ b/types/js-beautify/js-beautify-tests.ts @@ -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,