aboutsummaryrefslogtreecommitdiff
path: root/src/js/private.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/private.d.ts')
-rw-r--r--src/js/private.d.ts14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/js/private.d.ts b/src/js/private.d.ts
index 74ac8ee1a..0e99e2a5b 100644
--- a/src/js/private.d.ts
+++ b/src/js/private.d.ts
@@ -175,6 +175,13 @@ 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;
@@ -183,11 +190,8 @@ interface BunLazyModules {
runInNewContext: Function;
runInThisContext: Function;
};
- /* 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;
-
+ /** typeof === 'undefined', but callable -> throws not implemented */
+ "masqueradesAsUndefined": (...args: any) => any;
pathToFileURL: typeof import("node:url").pathToFileURL;
fileURLToPath: typeof import("node:url").fileURLToPath;
noop: {