We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
readFile
utf8
1 parent b86383a commit ef75919Copy full SHA for ef75919
index.d.ts
@@ -149,6 +149,7 @@ declare module '@isomorphic-git/lightning-fs' {
149
150
writeFile(filepath: string, data: Uint8Array | string, options?: FS.WriteFileOptions | string): Promise<void>
151
152
+ readFile(filepath: string, options: 'utf8' | { encoding: 'utf8' }): Promise<string>
153
readFile(filepath: string, options?: FS.ReadFileOptions | string): Promise<Uint8Array | string>
154
155
/**
0 commit comments