diff --git a/crates/js-sys/src/lib.rs b/crates/js-sys/src/lib.rs index ba300b684ca..2972376bd22 100644 --- a/crates/js-sys/src/lib.rs +++ b/crates/js-sys/src/lib.rs @@ -1872,7 +1872,7 @@ extern "C" { /// /// [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of) #[derive(Clone, Debug)] - #[wasm_bindgen(is_type_of = Iterator::looks_like_iterator, typescript_type = "Iterator>")] + #[wasm_bindgen(is_type_of = Iterator::looks_like_iterator, typescript_type = "AsyncIterator")] pub type AsyncIterator; /// The `next()` method always has to return a Promise which resolves to an object