diff options
Diffstat (limited to 'src/js/private.d.ts')
-rw-r--r-- | src/js/private.d.ts | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/src/js/private.d.ts b/src/js/private.d.ts index 80c22bd51..74ac8ee1a 100644 --- a/src/js/private.d.ts +++ b/src/js/private.d.ts @@ -175,13 +175,6 @@ interface BunLazyModules { describe: typeof import("bun:jsc").jscDescribe; describeArray: typeof import("bun:jsc").jscDescribe; }; - "bun:stream": { - maybeReadMore: Function; - resume: Function; - emitReadable: Function; - onEofChunk: Function; - ReadableState: Function; - }; sqlite: any; "vm": { createContext: Function; @@ -190,8 +183,11 @@ interface BunLazyModules { runInNewContext: Function; runInThisContext: Function; }; - /** typeof === 'undefined', but callable -> throws not implemented */ - "masqueradesAsUndefined": (...args: any) => any; + /* typeof === 'undefined', but callable -> throws not implemented + * We dont use this anywhere right now, so it's commented out in native code. + */ + // "masqueradesAsUndefined": (...args: any) => any; + pathToFileURL: typeof import("node:url").pathToFileURL; fileURLToPath: typeof import("node:url").fileURLToPath; noop: { @@ -201,9 +197,8 @@ interface BunLazyModules { callback: any; }; "async_hooks": { - get: typeof import("./builtins/AsyncContext").getAsyncContext; - set: typeof import("./builtins/AsyncContext").setAsyncContext; cleanupLater: () => void; + setAsyncHooksEnabled: (enabled: boolean) => void; }; "worker_threads": [ // |