chore: typo fixes (#1546)
* chore: fix typos in comments/JSDoc. * chore: fix typo in internal function name. * chore: fix typos in test comments/descriptions/variable names.
This commit is contained in:
@@ -121,7 +121,7 @@ export function defineComponent<
|
||||
EE
|
||||
>
|
||||
): ComponentPublicInstanceConstructor<
|
||||
// array props technically doesn't place any contraints on props in TSX before,
|
||||
// array props technically doesn't place any constraints on props in TSX before,
|
||||
// but now we can export array props in TSX
|
||||
CreateComponentPublicInstance<
|
||||
Readonly<{ [key in PropNames]?: any }>,
|
||||
|
||||
@@ -210,7 +210,7 @@ export const PublicInstanceProxyHandlers: ProxyHandler<any> = {
|
||||
appContext
|
||||
} = instance
|
||||
|
||||
// let @vue/reatvitiy know it should never observe Vue public instances.
|
||||
// let @vue/reactivity know it should never observe Vue public instances.
|
||||
if (key === ReactiveFlags.SKIP) {
|
||||
return true
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ export type RawSlots = {
|
||||
// internal, indicates compiler generated slots
|
||||
// we use a reserved property instead of a vnode patchFlag because the slots
|
||||
// object may be directly passed down to a child component in a manual
|
||||
// render funciton, and the optimization hint need to be on the slot object
|
||||
// render function, and the optimization hint need to be on the slot object
|
||||
// itself to be preserved.
|
||||
_?: 1
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ export function createHydrationFunctions(
|
||||
): Node | null => {
|
||||
const isFragmentStart = isComment(node) && node.data === '['
|
||||
const onMismatch = () =>
|
||||
handleMismtach(
|
||||
handleMismatch(
|
||||
node,
|
||||
vnode,
|
||||
parentComponent,
|
||||
@@ -397,7 +397,7 @@ export function createHydrationFunctions(
|
||||
}
|
||||
}
|
||||
|
||||
const handleMismtach = (
|
||||
const handleMismatch = (
|
||||
node: Node,
|
||||
vnode: VNode,
|
||||
parentComponent: ComponentInternalInstance | null,
|
||||
|
||||
Reference in New Issue
Block a user