summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/_fs/_fs_common.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ext/node/polyfills/_fs/_fs_common.ts')
-rw-r--r--ext/node/polyfills/_fs/_fs_common.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/polyfills/_fs/_fs_common.ts b/ext/node/polyfills/_fs/_fs_common.ts
index 069f9a3a1..ac0bf5a55 100644
--- a/ext/node/polyfills/_fs/_fs_common.ts
+++ b/ext/node/polyfills/_fs/_fs_common.ts
@@ -38,7 +38,7 @@ export type BinaryOptionsArgument =
export type FileOptionsArgument = Encodings | FileOptions;
export type ReadOptions = {
- buffer: Buffer | Uint8Array;
+ buffer: Buffer | ArrayBufferView;
offset: number;
length: number;
position: number | null;