1
0
mirror of https://github.com/koloml/furbooru-tagging-assistant.git synced 2025-12-24 07:12:57 +00:00

Adding type for suggestion position, converting store to TS

This commit is contained in:
2025-02-16 16:07:52 +04:00
parent 2104922951
commit 0b4ff96fc1
2 changed files with 6 additions and 5 deletions

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> {