Skip to content

Commit 21be9db

Browse files
committed
fix: resolve type conflicts in useSettings
1 parent 60b8365 commit 21be9db

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

app/composables/useSettings.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ import type { SearchProvider } from '#shared/types'
66
import { BACKGROUND_THEMES } from '#shared/utils/constants'
77

88
type BackgroundThemeId = keyof typeof BACKGROUND_THEMES
9-
type AccentColorId = keyof typeof ACCENT_COLORS.light
10-
/** Available search providers */
11-
export type SearchProvider = 'npm' | 'algolia'
129

1310
/**
1411
* Application settings stored in localStorage

shared/types/npm-registry.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ export interface PackageVersionInfo {
103103
deprecated?: string
104104
}
105105

106+
/** Available search providers */
106107
export type SearchProvider = 'npm' | 'algolia'
107108

108109
/**

0 commit comments

Comments
 (0)