mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Export PyEvalOptions in typescript defs
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -227,7 +227,7 @@ pub fn eval_py(source: &str, options: Option<Object>) -> Result<JsValue, JsValue
|
||||
#[wasm_bindgen(typescript_custom_section)]
|
||||
const TYPESCRIPT_DEFS: &'static str = r#"
|
||||
*/
|
||||
interface PyEvalOptions {
|
||||
export interface PyEvalOptions {
|
||||
stdout: (out: string) => void;
|
||||
vars: { [key: string]: any };
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user