Is there anyway to achieve this code format alignment? Typescript

From this:

```

export type HistoryType = {
  id: number; // eg: 1
  query: string; // eg: Osaka, JP
  time: string; // eg: 03:14:50 PM
};

```

To this:

```

export type HistoryType = {
  id        : number;   // eg: 1
  query  : string;      // eg: Osaka, JP
  time    : string;      // eg: 03:14:50 PM
};

```

Basically to align vertically the type declaration and start of the comment in a single line.

0

Please sign in to leave a comment.