There was an error while loading. Please reload this page.
1 parent 4cd15f2 commit 87049d5Copy full SHA for 87049d5
1 file changed
src/structures/filesystem/fs.ts
@@ -63,7 +63,7 @@ export default class FileSystem implements IFileSystem {
63
return await readdir(path, recursive!);
64
}
65
66
- readFile(path: string): Promise<Buffer>;
+ readFile(path: string): Promise<Buffer<ArrayBuffer>>;
67
readFile(path: string, encoding: BufferEncoding): Promise<string>;
68
async readFile(path: string, encoding?: BufferEncoding) {
69
return await readFile(path, encoding);
0 commit comments