We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Null coalescing is currently at stage 3 and already shipped with TypeScript 3.7. Currently, with the following input:
const obj = {}; const a = obj.prop ?? 'hola';
We get the following output:
const obj = {}; const a = obj.prop ? ? 'hola';
Notice the extra spaces around ?. The expected output is the same as the input.
?
Configuration:
{ "indent_size": "4", "indent_char": " ", "max_preserve_newlines": "5", "preserve_newlines": true, "keep_array_indentation": false, "break_chained_methods": false, "indent_scripts": "normal", "brace_style": "collapse", "space_before_conditional": true, "unescape_strings": false, "jslint_happy": false, "end_with_newline": false, "wrap_line_length": "0", "indent_inner_html": false, "comma_first": false, "e4x": false, "indent_empty_lines": false }
The text was updated successfully, but these errors were encountered:
Submitting a new issue as @bitwiseman said in #1530 that each item should get its own issue to be tracked.
Sorry, something went wrong.
No branches or pull requests
Null coalescing is currently at stage 3 and already shipped with TypeScript 3.7. Currently, with the following input:
We get the following output:
Notice the extra spaces around
?
. The expected output is the same as the input.Configuration:
{
"indent_size": "4",
"indent_char": " ",
"max_preserve_newlines": "5",
"preserve_newlines": true,
"keep_array_indentation": false,
"break_chained_methods": false,
"indent_scripts": "normal",
"brace_style": "collapse",
"space_before_conditional": true,
"unescape_strings": false,
"jslint_happy": false,
"end_with_newline": false,
"wrap_line_length": "0",
"indent_inner_html": false,
"comma_first": false,
"e4x": false,
"indent_empty_lines": false
}
The text was updated successfully, but these errors were encountered: