chore: fix typo (#764) [ci skip]

This commit is contained in:
djy0
2020-02-25 01:01:26 +08:00
committed by GitHub
parent 047844cfb8
commit c11905fe36
4 changed files with 8 additions and 9 deletions

View File

@@ -128,7 +128,7 @@ export interface RendererInternals<HostNode = any, HostElement = any> {
c: ProcessTextOrCommentFn<HostNode, HostElement>
}
// These functions are created inside a closure and therefore there types cannot
// These functions are created inside a closure and therefore their types cannot
// be directly exported. In order to avoid maintaining function signatures in
// two places, we declare them once here and use them inside the closure.
type PatchFn<HostNode, HostElement> = (
@@ -651,7 +651,6 @@ function baseCreateRenderer<
// generated by the compiler and can take the fast path.
// in this path old node and new node are guaranteed to have the same shape
// (i.e. at the exact same position in the source template)
if (patchFlag & PatchFlags.FULL_PROPS) {
// element props contain dynamic keys, full diff needed
patchProps(