Added initial window module functionality. (#57)

This commit is contained in:
bicarlsen 2024-07-23 09:35:07 +02:00 committed by GitHub
parent 125136ae79
commit 9c3cd94275
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 931 additions and 29 deletions

View file

@ -43,7 +43,6 @@ mod inner {
#[wasm_bindgen(module = "/src/core.js")]
extern "C" {
#[wasm_bindgen]
pub async fn invoke(cmd: &str, args: JsValue) -> JsValue;
#[wasm_bindgen(js_name = "invoke", catch)]
pub async fn invoke_result(cmd: &str, args: JsValue) -> Result<JsValue, JsValue>;