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:
@@ -142,7 +142,7 @@ export const ssrTransformComponent: NodeTransform = (node, context) => {
|
||||
|
||||
if (typeof component !== 'string') {
|
||||
// dynamic component that resolved to a `resolveDynamicComponent` call
|
||||
// expression - since the reoslved result may be a plain element (string)
|
||||
// expression - since the resolved result may be a plain element (string)
|
||||
// or a VNode, handle it with `renderVNode`.
|
||||
node.ssrCodegenNode = createCallExpression(
|
||||
context.helper(SSR_RENDER_VNODE),
|
||||
|
||||
@@ -64,7 +64,7 @@ export const ssrTransformElement: NodeTransform = (node, context) => {
|
||||
// element
|
||||
// generate the template literal representing the open tag.
|
||||
const openTag: TemplateLiteral['elements'] = [`<${node.tag}`]
|
||||
// some tags need to be pasesd to runtime for special checks
|
||||
// some tags need to be passed to runtime for special checks
|
||||
const needTagForRuntime =
|
||||
node.tag === 'textarea' || node.tag.indexOf('-') > 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user