aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Colin McDonnell <colinmcd94@gmail.com> 2023-07-13 17:48:46 -0700
committerGravatar Colin McDonnell <colinmcd94@gmail.com> 2023-07-13 17:48:46 -0700
commit43abf2629ff228b19ff38a09f5423cf6f3863d84 (patch)
tree5aada6ceffd59b098e0bd565185af2997b49d0eb
parent325147261ff9ecf3e249ba796606cd84687ebe8c (diff)
downloadbun-43abf2629ff228b19ff38a09f5423cf6f3863d84.tar.gz
bun-43abf2629ff228b19ff38a09f5423cf6f3863d84.tar.zst
bun-43abf2629ff228b19ff38a09f5423cf6f3863d84.zip
Remove fdatasync from types
-rw-r--r--packages/bun-types/fs.d.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/bun-types/fs.d.ts b/packages/bun-types/fs.d.ts
index cc3483b53..5fb552b7c 100644
--- a/packages/bun-types/fs.d.ts
+++ b/packages/bun-types/fs.d.ts
@@ -3649,7 +3649,7 @@ declare module "fs" {
// prependOnceListener(event: 'unpipe', listener: (src: stream.Readable) => void): this;
// prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
}
- function fdatasync(fd: number, callback: NoParamCallback): void;
+ // function fdatasync(fd: number, callback: NoParamCallback): void;
// namespace fdatasync {
// /**
// * Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device.
@@ -3662,7 +3662,7 @@ declare module "fs" {
* operating system's synchronized I/O completion state. Refer to the POSIX [`fdatasync(2)`](http://man7.org/linux/man-pages/man2/fdatasync.2.html) documentation for details. Returns `undefined`.
* @since v0.0.67
*/
- function fdatasyncSync(fd: number): void;
+ // function fdatasyncSync(fd: number): void;
/**
* Asynchronously copies `src` to `dest`. By default, `dest` is overwritten if it
* already exists. No arguments other than a possible exception are given to the