Ver Fonte

chore: fix some typos (#5050) [ci skip]

Forzen FIsh há 4 anos atrás
pai
commit
57a09331b2

+ 1 - 1
packages/compiler-core/src/transforms/hoistStatic.ts

@@ -330,7 +330,7 @@ function getGeneratedPropsConstantType(
       } else if (value.type === NodeTypes.JS_CALL_EXPRESSION) {
         // some helper calls can be hoisted,
         // such as the `normalizeProps` generated by the compiler for pre-normalize class,
-        // in this case we need to respect the ConstantType of the helper's argments
+        // in this case we need to respect the ConstantType of the helper's arguments
         valueType = getConstantTypeOfHelperCall(value, context)
       } else {
         valueType = ConstantTypes.NOT_CONSTANT

+ 1 - 1
packages/runtime-core/src/compat/global.ts

@@ -602,7 +602,7 @@ const methodsToPatch = [
 const patched = new WeakSet<object>()
 
 function defineReactive(obj: any, key: string, val: any) {
-  // it's possible for the orignial object to be mutated after being defined
+  // it's possible for the original object to be mutated after being defined
   // and expecting reactivity... we are covering it here because this seems to
   // be a bit more common.
   if (isObject(val) && !isReactive(val) && !patched.has(val)) {

+ 1 - 1
packages/runtime-core/src/featureFlags.ts

@@ -29,7 +29,7 @@ export function initFeatureFlags() {
         `which expects these compile-time feature flags to be globally injected ` +
         `via the bundler config in order to get better tree-shaking in the ` +
         `production bundle.\n\n` +
-        `For more details, see http://link.vuejs.org/feature-flags.`
+        `For more details, see https://link.vuejs.org/feature-flags.`
     )
   }
 }

+ 1 - 1
packages/vue/package.json

@@ -1,7 +1,7 @@
 {
   "name": "vue",
   "version": "3.2.24",
-  "description": "The progressive JavaScript framework for buiding modern web UI.",
+  "description": "The progressive JavaScript framework for building modern web UI.",
   "main": "index.js",
   "module": "dist/vue.runtime.esm-bundler.js",
   "types": "dist/vue.d.ts",