diff options
Diffstat (limited to 'std/node/_fs/_fs_readFile.ts')
-rw-r--r-- | std/node/_fs/_fs_readFile.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/node/_fs/_fs_readFile.ts b/std/node/_fs/_fs_readFile.ts index 900d69f89..ccea71cd6 100644 --- a/std/node/_fs/_fs_readFile.ts +++ b/std/node/_fs/_fs_readFile.ts @@ -24,7 +24,7 @@ function maybeDecode( export function readFile( path: string | URL, - optOrCallback: ReadFileCallback | FileOptions | string, + optOrCallback: ReadFileCallback | FileOptions | string | undefined, callback?: ReadFileCallback ): void { path = path instanceof URL ? fromFileUrl(path) : path; |