diff --git a/src/lib/app-slowlogs/types.ts b/src/lib/app-slowlogs/types.ts index c58b545e3..73d25f6e0 100644 --- a/src/lib/app-slowlogs/types.ts +++ b/src/lib/app-slowlogs/types.ts @@ -13,9 +13,7 @@ export interface DefaultOptions { export type SlowlogFormats = 'json' | 'csv' | 'table'; -type Stringable = - | string - | { toString: () => string }; +type Stringable = string | { toString: () => string }; export interface GetSlowLogsOptions extends DefaultOptions { limit: number; diff --git a/src/lib/cli/format.ts b/src/lib/cli/format.ts index ed7b293e2..77c626515 100644 --- a/src/lib/cli/format.ts +++ b/src/lib/cli/format.ts @@ -9,7 +9,7 @@ export interface Tuple { value: string; } -type Stringable = string | { toString: () => string; }; +type Stringable = string | { toString: () => string }; export type OutputFormat = 'keyValue' | 'ids' | 'json' | 'csv' | 'table';