mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-12 20:41:24 +00:00
add read_optional_enum_attribute to webidl-tests/enums
This commit is contained in:
@ -18,4 +18,12 @@ global.Shape = class Shape {
|
||||
getShape() {
|
||||
return this.kind;
|
||||
}
|
||||
|
||||
get shapeTypeNone() {
|
||||
return null;
|
||||
}
|
||||
|
||||
get shapeTypeSome() {
|
||||
return this.kind;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user