Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix typings for Command element find all methods (#170)
* Use conditional types for the Command methods that run on Element to properly indicate whether the method returns a string or a string array. * Update the declaration of Command#getAttribute to correctly indicate that a string or at string array is returned. * Change the declaration of Command#getAttribute to support passing a type as a generic to not break code that was previously using the method.
- Loading branch information