Skip to content

Commit c909e43

Browse files
committed
backend: use Promise return type instead of async
1 parent 1d46c23 commit c909e43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/backend/mod.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ export interface SearchIndex {
3939
}
4040

4141
export interface FileStore {
42-
async readFile(path: string): string|null;
43-
async writeFile(path: string, contents: string);
42+
readFile(path: string): Promise<string|null>;
43+
writeFile(path: string, contents: string): Promise<void>;
4444
}
4545

4646
export interface ChangeNotifier {

0 commit comments

Comments
 (0)