diff --git a/packages/compiler-core/src/errors.ts b/packages/compiler-core/src/errors.ts index ebd113c5..3a9e3469 100644 --- a/packages/compiler-core/src/errors.ts +++ b/packages/compiler-core/src/errors.ts @@ -88,7 +88,7 @@ export const enum ErrorCodes { X_PREFIX_ID_NOT_SUPPORTED, X_MODULE_MODE_NOT_SUPPORTED, - // Sepcial value for higher-order compilers to pick up the last code + // Special value for higher-order compilers to pick up the last code // to avoid collision of error codes. This should always be kept as the last // item. __EXTEND_POINT__ diff --git a/packages/compiler-dom/__tests__/transforms/vOn.spec.ts b/packages/compiler-dom/__tests__/transforms/vOn.spec.ts index e0e75d93..ac8bec78 100644 --- a/packages/compiler-dom/__tests__/transforms/vOn.spec.ts +++ b/packages/compiler-dom/__tests__/transforms/vOn.spec.ts @@ -31,7 +31,7 @@ function parseVOnProperties( } describe('compiler-dom: transform v-on', () => { - it('should support muliple modifiers w/ prefixIdentifiers: true', () => { + it('should support multiple modifiers w/ prefixIdentifiers: true', () => { const [prop] = parseVOnProperties(`
`, { prefixIdentifiers: true }) diff --git a/packages/compiler-dom/src/transforms/vModel.ts b/packages/compiler-dom/src/transforms/vModel.ts index 75abf388..79d1b8ae 100644 --- a/packages/compiler-dom/src/transforms/vModel.ts +++ b/packages/compiler-dom/src/transforms/vModel.ts @@ -66,7 +66,7 @@ export const transformModel: DirectiveTransform = (dir, node, context) => { } // inject runtime directive // by returning the helper symbol via needRuntime - // the import will replaced a resovleDirective call. + // the import will replaced a resolveDirective call. if (!isInvalidType) { baseResult.needRuntime = context.helper(directiveToUse) } diff --git a/packages/compiler-dom/src/transforms/vOn.ts b/packages/compiler-dom/src/transforms/vOn.ts index 7b89059b..b817611d 100644 --- a/packages/compiler-dom/src/transforms/vOn.ts +++ b/packages/compiler-dom/src/transforms/vOn.ts @@ -16,7 +16,7 @@ const isEventOptionModifier = /*#__PURE__*/ makeMap(`passive,once,capture`) const isNonKeyModifier = /*#__PURE__*/ makeMap( // event propagation management `stop,prevent,self,` + - // system modifers + exact + // system modifiers + exact `ctrl,shift,alt,meta,exact,` + // mouse `left,middle,right` diff --git a/packages/runtime-test/__tests__/testRuntime.spec.ts b/packages/runtime-test/__tests__/testRuntime.spec.ts index 22a813cb..ce98d4d5 100644 --- a/packages/runtime-test/__tests__/testRuntime.spec.ts +++ b/packages/runtime-test/__tests__/testRuntime.spec.ts @@ -173,7 +173,7 @@ describe('test renderer', () => { expect(serialize(root)).toBe(`
1
`) }) - it('should be able to trigger events with muliple listeners', async () => { + it('should be able to trigger events with multiple listeners', async () => { const count = ref(0) const count2 = ref(1)