dprint / dprint-plugin-typescript

TypeScript and JavaScript code formatting plugin for dprint.
https://dprint.dev/plugins/typescript
MIT License
255 stars 57 forks source link

Break interfaces/types onto multiple lines #621

Open todor-a opened 6 months ago

todor-a commented 6 months ago

Provide an option to format this:

type Foo = { a: string; b: string; }

as:

type Foo = { 
  a: string;
  b: string; 
}