Skip to content

Commit 2330df8

Browse files
committed
fix(component.js) : Updated JS Doc for removeChild()
1 parent 09eb715 commit 2330df8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/js/component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ class Component {
689689
* Remove a child `Component` from this `Component`s list of children. Also removes
690690
* the child `Component`s element from this `Component`s element.
691691
*
692-
* @param {Component} component
692+
* @param {string|Component} component
693693
* The child `Component` to remove.
694694
*/
695695
removeChild(component) {

0 commit comments

Comments
 (0)