diff --git a/lib/constants/programming-language.ts b/lib/constants/programming-language.ts index f481973a7e8690..79f2ccff6ebecd 100644 --- a/lib/constants/programming-language.ts +++ b/lib/constants/programming-language.ts @@ -13,4 +13,4 @@ export const programmingLanguages = [ 'rust', ] as const; -export type ProgrammingLanguage = typeof programmingLanguages[number]; +export type ProgrammingLanguage = (typeof programmingLanguages)[number]; diff --git a/lib/modules/manager/regex/utils.ts b/lib/modules/manager/regex/utils.ts index fab60f86ec54ce..fbe31c506b1750 100644 --- a/lib/modules/manager/regex/utils.ts +++ b/lib/modules/manager/regex/utils.ts @@ -18,7 +18,7 @@ export const validMatchFields = [ 'depType', ] as const; -type ValidMatchFields = typeof validMatchFields[number]; +type ValidMatchFields = (typeof validMatchFields)[number]; function updateDependency( dependency: PackageDependency, diff --git a/lib/modules/versioning/pep440/range.ts b/lib/modules/versioning/pep440/range.ts index 5e2dde8ef8bf16..166ef9b5596582 100644 --- a/lib/modules/versioning/pep440/range.ts +++ b/lib/modules/versioning/pep440/range.ts @@ -17,7 +17,7 @@ const UserPolicy = { None: Infinity, } as const; -type UserPolicy = typeof UserPolicy[keyof typeof UserPolicy]; +type UserPolicy = (typeof UserPolicy)[keyof typeof UserPolicy]; /** * Calculate current update range precision.