Merge pull request #3433 from dmitrylyzo/types-react

[TypeScript] Disable implicit any
This commit is contained in:
Bill Thornton
2022-02-25 15:17:32 -05:00
committed by GitHub
33 changed files with 883 additions and 254 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
* Returns parent of element with specified attribute value.
* @param {HTMLElement} elem - Element whose parent need to find.
* @param {string} name - Attribute name.
* @param {mixed} value - Attribute value.
* @param {mixed} [value] - Attribute value.
* @returns {HTMLElement} Parent with specified attribute value.
*/
export function parentWithAttribute(elem, name, value) {