mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 11:59:00 +00:00
29 lines
526 B
TypeScript
29 lines
526 B
TypeScript
import { define } from "../../codegen/class-definitions";
|
|
|
|
export default [
|
|
define({
|
|
name: "ShellInterpreter",
|
|
construct: true,
|
|
noConstructor: true,
|
|
finalize: true,
|
|
hasPendingActivity: true,
|
|
configurable: false,
|
|
klass: {},
|
|
values: ["resolve", "reject"],
|
|
proto: {
|
|
run: {
|
|
fn: "runFromJS",
|
|
length: 0,
|
|
},
|
|
isRunning: {
|
|
fn: "isRunning",
|
|
length: 0,
|
|
},
|
|
started: {
|
|
fn: "getStarted",
|
|
length: 0,
|
|
},
|
|
},
|
|
}),
|
|
];
|