Skip to content

Commit fd00c83

Browse files
authored
Merge pull request #283 from linguofeng/patch-1
Add FS readdir types
2 parents 559a4ee + 20a4271 commit fd00c83

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 | string) => void,
33
readFile: (fileName: string) => Uint8Array,
4+
readdir: (pathName: string) => string[],
45
unlink: (fileName: string) => void,
56
}
67

0 commit comments

Comments
 (0)