Closed tachibana-shin closed 2 years ago
I'm afraid this doesn't work like this right now:
async readFile(filepath, opts) { const { encoding } = opts; ... }
fixed
This is standard of nodeJS readFile to accept a string, can you maybe update the code in: https://github.com/isomorphic-git/lightning-fs/blob/main/src/DefaultBackend.js#L97 to match your first TypeScript definition?
This is standard of nodeJS readFile to accept a string, can you maybe update the code in: https://github.com/isomorphic-git/lightning-fs/blob/main/src/DefaultBackend.js#L97 to match your first TypeScript definition?
All right, I'll update it.
This is standard of nodeJS readFile to accept a string, can you maybe update the code in: https://github.com/isomorphic-git/lightning-fs/blob/main/src/DefaultBackend.js#L97 to match your first TypeScript definition?
updated
Thanks for the changes. It looks good.
I'm afraid this doesn't work like this right now: