MachineBuilder constructor

This commit is contained in:
bakaq
2025-02-19 22:50:41 -03:00
parent 93e804eeaa
commit cea8e6b1c9

View File

@@ -19,6 +19,7 @@ pub struct WasmMachineBuilder {
#[wasm_bindgen(js_class = MachineBuilder)] #[wasm_bindgen(js_class = MachineBuilder)]
impl WasmMachineBuilder { impl WasmMachineBuilder {
#[wasm_bindgen(constructor)]
pub fn new() -> Self { pub fn new() -> Self {
Default::default() Default::default()
} }