mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-29 13:06:06 +03:00
js_sys: Add #[derive(Clone, Debug)]
to Promise
I think we just forgot this from earlier!
This commit is contained in:
parent
70e13705b4
commit
e9fa209dcf
@ -4254,6 +4254,7 @@ extern "C" {
|
||||
///
|
||||
/// [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)
|
||||
#[wasm_bindgen(extends = Object)]
|
||||
#[derive(Clone, Debug)]
|
||||
pub type Promise;
|
||||
|
||||
/// Creates a new `Promise` with the provided executor `cb`
|
||||
|
Loading…
Reference in New Issue
Block a user