Skip to content

Commit

Permalink
fix: type of PackageMode (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
KermanX authored Jun 26, 2024
1 parent eed3c89 commit 38ddb95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { MODE_CHOICES } from './constants'
import type { SortOption } from './utils/sort'

export type RangeMode = typeof MODE_CHOICES[number]
export type PackageMode = Omit<RangeMode, 'default'> | 'ignore'
export type PackageMode = Exclude<RangeMode, 'default'> | 'ignore'
export type DepType = 'dependencies' | 'devDependencies' | 'peerDependencies' | 'optionalDependencies' | 'packageManager' | 'pnpm.overrides' | 'resolutions' | 'overrides'

export const DependenciesTypeShortMap = {
Expand Down

0 comments on commit 38ddb95

Please sign in to comment.