diff options
Diffstat (limited to 'std/node/_fs/_fs_common.ts')
-rw-r--r-- | std/node/_fs/_fs_common.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/node/_fs/_fs_common.ts b/std/node/_fs/_fs_common.ts index 73a0a81ef..c233b2d76 100644 --- a/std/node/_fs/_fs_common.ts +++ b/std/node/_fs/_fs_common.ts @@ -6,7 +6,7 @@ import { TextEncodings, } from "../_utils.ts"; -export type CallbackWithError = (err?: Error | null) => void; +export type CallbackWithError = (err: Error | null) => void; export interface FileOptions { encoding?: Encodings; |