Fix incorrect readFile
method return value
This commit is contained in:
parent
52bd53d61a
commit
ff467f3ce5
2
src/index.d.ts
vendored
2
src/index.d.ts
vendored
@ -1,6 +1,6 @@
|
|||||||
export const FS: {
|
export const FS: {
|
||||||
writeFile: (fileName: string, binaryData: Uint8Array) => void,
|
writeFile: (fileName: string, binaryData: Uint8Array) => void,
|
||||||
readFile: (fileName: string) => void,
|
readFile: (fileName: string) => Uint8Array,
|
||||||
unlink: (fileName: string) => void,
|
unlink: (fileName: string) => void,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user