Skip to content

Commit 6277cb9

Browse files
authored
chore: fix typo (#7693)
1 parent fd1a3f9 commit 6277cb9

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

packages/runtime-core/__tests__/apiWatch.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ describe('api: watch', () => {
10001000
},
10011001
mounted() {
10021002
// this call runs while Comp is currentInstance, but
1003-
// the effect for this `$watch` should nontheless be registered with Child
1003+
// the effect for this `$watch` should nonetheless be registered with Child
10041004
this.comp!.$watch(
10051005
() => this.show,
10061006
() => void 0
@@ -1171,7 +1171,7 @@ describe('api: watch', () => {
11711171
expect(instance!.scope.effects.length).toBe(1)
11721172
})
11731173

1174-
test('watchEffect should keep running if created in a detatched scope', async () => {
1174+
test('watchEffect should keep running if created in a detached scope', async () => {
11751175
const trigger = ref(0)
11761176
let countWE = 0
11771177
let countW = 0

packages/runtime-core/src/component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ export interface ComponentInternalInstance {
256256
*/
257257
ssrRender?: Function | null
258258
/**
259-
* Object containing values this component provides for its descendents
259+
* Object containing values this component provides for its descendants
260260
* @internal
261261
*/
262262
provides: Data

packages/runtime-dom/__tests__/customElement.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ describe('defineCustomElement', () => {
322322
emit('my-click', 1)
323323
},
324324
onMousedown: () => {
325-
emit('myEvent', 1) // validate hypenization
325+
emit('myEvent', 1) // validate hyphenation
326326
}
327327
})
328328
}

packages/server-renderer/__tests__/ssrScopeId.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ describe('ssr: scopedId runtime behavior', () => {
156156
})
157157

158158
// #3513
159-
test('scopeId inheritance across ssr-compiled andn on-ssr compiled parent chain', async () => {
159+
test('scopeId inheritance across ssr-compiled and on-ssr compiled parent chain', async () => {
160160
const Child = {
161161
ssrRender: (ctx: any, push: any, parent: any, attrs: any) => {
162162
push(`<div${ssrRenderAttrs(attrs)}></div>`)

packages/shared/src/general.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export const looseToNumber = (val: any): any => {
149149
}
150150

151151
/**
152-
* Only conerces number-like strings
152+
* Only concerns number-like strings
153153
* "123-foo" will be returned as-is
154154
*/
155155
export const toNumber = (val: any): any => {

rollup.dts.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default targetPackages.map(pkg => {
4646
* and remove them from the big export {} declaration
4747
* otherwise it gets weird in vitepress `defineComponent` call with
4848
* "the inferred type cannot be named without a reference"
49-
* 3. Append custom agumentations (jsx, macros)
49+
* 3. Append custom augmentations (jsx, macros)
5050
* @returns {import('rollup').Plugin}
5151
*/
5252
function patchTypes(pkg) {

scripts/const-enum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ export function constEnum() {
189189
)
190190

191191
// 3. during transform:
192-
// 3.1 files w/ const enum declaration: remove delcaration
192+
// 3.1 files w/ const enum declaration: remove declaration
193193
// 3.2 files using const enum: inject into esbuild define
194194
/**
195195
* @type {import('rollup').Plugin}

0 commit comments

Comments
 (0)