docs(core): correct insertBefore's description (#34547)

Update the description of `refChild`
Based on https://developer.mozilla.org/en-US/docs/Web/API/Node/insertBefore
PR Close #34547
This commit is contained in:
Zac 2019-12-23 12:03:52 -05:00 committed by Miško Hevery
parent 8fbb966ca7
commit a7ed74f573
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ export abstract class Renderer2 {
* in the host element DOM. * in the host element DOM.
* @param parent The parent node. * @param parent The parent node.
* @param newChild The new child nodes. * @param newChild The new child nodes.
* @param refChild The existing child node that should precede the new node. * @param refChild The existing child node before which `newChild` is inserted.
*/ */
abstract insertBefore(parent: any, newChild: any, refChild: any): void; abstract insertBefore(parent: any, newChild: any, refChild: any): void;
/** /**