ammonia-wasm icon indicating copy to clipboard operation
ammonia-wasm copied to clipboard

Incorrect type of 'setTagAttributeValues' property

Open abd6982 opened this issue 2 years ago • 1 comments

The setTagAttributeValues property of the AmmoniaBuilder class expects a value of type Map<string, Map<string, Set<string>>> [link]. But the same property in rust-ammonia expects the type Map<string, Map<string, string>>[link]. This leads to an error when trying to set this property on instance of the AmmoniaBuilder class.

Changing the type of setTagAttributeValues to Map<string, Map<string, string>> resolves this issue. Please fix this bug. I can also raise a PR if that helps.

abd6982 avatar Jun 09 '22 17:06 abd6982

Added a PR - https://github.com/lucacasonato/ammonia-wasm/pull/3

abd6982 avatar Jun 09 '22 17:06 abd6982