Skip to content

Commit 20a4271

Browse files
authored
Add FS readdir types
1 parent 2d6fae8 commit 20a4271

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
export const FS: {
22
writeFile: (fileName: string, binaryData: Uint8Array) => void,
33
readFile: (fileName: string) => Uint8Array,
4+
readdir: (pathName: string) => string[],
45
unlink: (fileName: string) => void,
56
}
67

0 commit comments

Comments
 (0)