Adding type for suggestion position, converting store to TS

This commit is contained in:
koloml committed 2025-02-16 16:07:52 +04:00
1 parent 2104922951
commit 0b4ff96fc1
2 files changed
+6 -5

No files matched your search

+3 -1
View File
@@ -1,8 +1,10 @@
import CacheableSettings from "$lib/extension/base/CacheableSettings";
export type SuggestionsPosition = "start" | "end";
interface SearchSettingsFields {
suggestProperties: boolean;
suggestPropertiesPosition: "start" | "end";
suggestPropertiesPosition: SuggestionsPosition;
}
export default class SearchSettings extends CacheableSettings<SearchSettingsFields> {