mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-20 00:11:23 +00:00
Implementing Element in web-sys (#508)
This commit is contained in:
committed by
Alex Crichton
parent
e99c6b7c61
commit
4013fd90a7
@ -176,8 +176,9 @@ impl<'a> FirstPassRecord<'a> {
|
||||
webidl::ast::TypeKind::DOMString if pos == TypePosition::Argument => {
|
||||
shared_ref(ident_ty(raw_ident("str")))
|
||||
}
|
||||
// `DOMString` is not supported yet in other positions.
|
||||
webidl::ast::TypeKind::DOMString => return None,
|
||||
webidl::ast::TypeKind::DOMString => {
|
||||
ident_ty(raw_ident("String"))
|
||||
},
|
||||
|
||||
// `ByteString -> `&[u8]` for arguments
|
||||
webidl::ast::TypeKind::ByteString if pos == TypePosition::Argument => {
|
||||
|
Reference in New Issue
Block a user