Skip to content

Commit d350991

Browse files
committed
Fix incorrect readFile method return value
1 parent c559ee0 commit d350991

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export const FS: {
22
writeFile: (fileName: string, binaryData: Uint8Array) => void,
3-
readFile: (fileName: string) => void,
3+
readFile: (fileName: string) => Uint8Array,
44
unlink: (fileName: string) => void,
55
}
66

0 commit comments

Comments
 (0)