diff --git a/rules/sort-object-types/types.ts b/rules/sort-object-types/types.ts index fb9a40f8..759af7ff 100644 --- a/rules/sort-object-types/types.ts +++ b/rules/sort-object-types/types.ts @@ -13,6 +13,11 @@ export type Options = Partial<{ declarationMatchesPattern?: string allNamesMatchPattern?: string } + groups: ( + | { newlinesBetween: 'ignore' | 'always' | 'never' } + | Group[] + | Group + )[] type: 'alphabetical' | 'line-length' | 'unsorted' | 'natural' | 'custom' customGroups: Record | CustomGroup[] /** @@ -23,7 +28,6 @@ export type Options = Partial<{ newlinesBetween: 'ignore' | 'always' | 'never' specialCharacters: 'remove' | 'trim' | 'keep' locales: NonNullable - groups: (Group[] | Group)[] partitionByNewLine: boolean /** * @deprecated for {@link `useConfigurationIf.declarationMatchesPattern`}