pub fn extend(extra: impl Into<Spec>, spec: impl Into<Spec>) -> Node
Add the properties of another object shape; a property both declare takes the extension’s. The result stays open or closed as the base was.