Place field decorator on the same line

EditorConfig key: js-place-field-decorator-on-the-same-line

Place field decorator on the same line

js-place-field-decorator-on-the-same-line

If true, field decorators stay on the same line as the field.

Default value:

false

Possible values:

  • true
  • false

Examples

true
@field x: number;
false
@field
x: number;