We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d46c23 commit c909e43Copy full SHA for c909e43
lib/backend/mod.ts
@@ -39,8 +39,8 @@ export interface SearchIndex {
39
}
40
41
export interface FileStore {
42
- async readFile(path: string): string|null;
43
- async writeFile(path: string, contents: string);
+ readFile(path: string): Promise<string|null>;
+ writeFile(path: string, contents: string): Promise<void>;
44
45
46
export interface ChangeNotifier {
0 commit comments