aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Derrick Farris <mr.dcfarris@gmail.com> 2023-01-17 17:45:15 -0600
committerGravatar GitHub <noreply@github.com> 2023-01-17 15:45:15 -0800
commit94ea41a60b3d38db7a92631fe9c64420d5569c0e (patch)
treeaf89ff33f43a57f320bf9062e04f704dd212060f
parent8235e59a7f4da17060fcb153b1d8f311498f26d9 (diff)
downloadbun-94ea41a60b3d38db7a92631fe9c64420d5569c0e.tar.gz
bun-94ea41a60b3d38db7a92631fe9c64420d5569c0e.tar.zst
bun-94ea41a60b3d38db7a92631fe9c64420d5569c0e.zip
fix(readline/promises): new Interface() -> new PromisesInterface() (#1818)
-rw-r--r--src/bun.js/readline.exports.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bun.js/readline.exports.js b/src/bun.js/readline.exports.js
index d5f6da1cd..cc85389fb 100644
--- a/src/bun.js/readline.exports.js
+++ b/src/bun.js/readline.exports.js
@@ -3255,7 +3255,7 @@ export var promises = {
Readline,
Interface: PromisesInterface,
createInterface(input, output, completer, terminal) {
- return new Interface(input, output, completer, terminal);
+ return new PromisesInterface(input, output, completer, terminal);
},
};