diff --git a/src/index.d.ts b/src/index.d.ts index aa3e2fe..961232e 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -1,7 +1,7 @@ export const FS: { - writeFile: (fileName: string, binaryData: Uint8Array) => Promise, - readFile: (fileName: string) => Promise, - unlink: (fileName: string) => Promise, + writeFile: (fileName: string, binaryData: Uint8Array) => void, + readFile: (fileName: string) => void, + unlink: (fileName: string) => void, } type FSMethodNames = { [K in keyof typeof FS]: (typeof FS)[K] extends (...args: any[]) => any ? K : never }[keyof typeof FS];