fix(store.ts): type err

This commit is contained in:
ManishMadan2882
2024-09-19 01:10:16 +05:30
parent 6bbb9176fc
commit 5368199517
3 changed files with 28 additions and 26 deletions

View File

@@ -8,7 +8,7 @@ import { setLocalApiKey, setLocalRecentDocs } from './preferenceApi';
import { RootState } from '../store';
import { ActiveState, Doc } from '../models/misc';
interface Preference {
export interface Preference {
apiKey: string;
prompt: { name: string; id: string; type: string };
chunks: string;