Place property decorator on the same line

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

Place property decorator on the same line

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

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

Default value:

false

Possible values:

  • true
  • false

Examples

true
@input prop: string;
false
@input
prop: string;