workflow-dom 0.3.12

DOM injection utilities for run-time injection of JavaScript and CSS
Documentation
1
2
3
4
5
6
7
//! Result type used by the [`workflow_dom`](super) module
use wasm_bindgen::JsValue;

/// Result type used by the [`workflow_dom`](super) module
// pub type Result<T> = std::result::Result<T, JsValue>;
pub type JsResult<T> = std::result::Result<T, JsValue>;
pub type Result<T> = std::result::Result<T, crate::error::Error>;