This commit makes all of the node subclasses in simple-dom consistent with Element, which includes a more-refined nodeType property type annotation. By making these types enum values, it's easier for external systems to better type check passed values.
This commit makes all of the node subclasses in simple-dom consistent with Element, which includes a more-refined nodeType property type annotation. By making these types enum values, it's easier for external systems to better type check passed values.