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.
FS
1 parent 60e61aa commit c559ee0Copy full SHA for c559ee0
src/index.d.ts
@@ -1,7 +1,7 @@
1
export const FS: {
2
- writeFile: (fileName: string, binaryData: Uint8Array) => Promise<void>,
3
- readFile: (fileName: string) => Promise<Uint8Array>,
4
- unlink: (fileName: string) => Promise<void>,
+ writeFile: (fileName: string, binaryData: Uint8Array) => void,
+ readFile: (fileName: string) => void,
+ unlink: (fileName: string) => void,
5
}
6
7
type FSMethodNames = { [K in keyof typeof FS]: (typeof FS)[K] extends (...args: any[]) => any ? K : never }[keyof typeof FS];
0 commit comments