Skip to content

Commit

Permalink
Fix type annotations and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
crybot committed May 30, 2024
1 parent 42eb0a7 commit 822061f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion main.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/components.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { App, Modal, Setting } from "obsidian"
import { FlashcardsSettings } from "./settings"
import FlashcardsLLMPlugin from "./main"


export class InputModal extends Modal {
plugin: FlashcardsLLMPlugin
configuration: FlashcardsSettings;
multiline: boolean;
onSubmit: (configuration: FlashcardsSettings, multiline: boolean) => void;
Expand Down
1 change: 1 addition & 0 deletions src/settings.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { App, MarkdownView, PluginSettingTab, Setting } from 'obsidian';
import { availableChatModels, availableCompletionModels } from "./models";
import FlashcardsLLMPlugin from "./main"

export interface FlashcardsSettings {
apiKey: string;
Expand Down

0 comments on commit 822061f

Please sign in to comment.