Skip to content

Commit ef75919

Browse files
interpolation for readFile with utf8
1 parent b86383a commit ef75919

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ declare module '@isomorphic-git/lightning-fs' {
149149

150150
writeFile(filepath: string, data: Uint8Array | string, options?: FS.WriteFileOptions | string): Promise<void>
151151

152+
readFile(filepath: string, options: 'utf8' | { encoding: 'utf8' }): Promise<string>
152153
readFile(filepath: string, options?: FS.ReadFileOptions | string): Promise<Uint8Array | string>
153154

154155
/**

0 commit comments

Comments
 (0)