Skip to content

Commit

Permalink
Fix typescript issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaoumov committed Sep 19, 2023
1 parent 5e2c402 commit a1a1fc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ export default async function prompt(app: App, promptText: string): Promise<stri
}

class PromptModal extends Modal {
private resolve: (value: string) => void;
private resolve!: (value: string) => void;
private promptText: string;
private value: string;
private value: string = '';
private isCancelled = true;
private promise: Promise<string>;

Expand Down

0 comments on commit a1a1fc2

Please # to comment.