diff --git a/crates/backend/src/typegen.rs b/crates/backend/src/typegen.rs index 43d395c3..3830143a 100644 --- a/crates/backend/src/typegen.rs +++ b/crates/backend/src/typegen.rs @@ -65,6 +65,7 @@ static KNOWN_TYPES: Lazy> = Lazy::new(|| { ("ArrayBuffer", "ArrayBuffer"), ("DataView", "DataView"), ("Date", "Date"), + ("JsBuffer", "Buffer"), ("Buffer", "Buffer"), // TODO: Vec should be Buffer, now is Array ("Vec", "Array<{}>"),