pub fn create_new_prop(
elem: &ElementRc,
tentative_name: SmolStr,
ty: Type,
) -> NamedReference
Expand description
Create a new property based on the name. (it might get a different name if that property exist)
pub fn create_new_prop(
elem: &ElementRc,
tentative_name: SmolStr,
ty: Type,
) -> NamedReference
Create a new property based on the name. (it might get a different name if that property exist)