Skip to content

Commit ed587e3

Browse files
committed
chore: typos
1 parent a208a2a commit ed587e3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/runtime-core/__tests__/components/Suspense.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import {
2222
Fragment
2323
} from '@vue/runtime-test'
2424
import { createApp, defineComponent } from 'vue'
25-
import { RawSlots } from 'packages/runtime-core/src/componentSlots'
25+
import { type RawSlots } from 'packages/runtime-core/src/componentSlots'
2626

2727
describe('Suspense', () => {
2828
const deps: Promise<any>[] = []
@@ -1528,7 +1528,7 @@ describe('Suspense', () => {
15281528
})
15291529

15301530
describe('warnings', () => {
1531-
// base function to check if a combination of solts warns or not
1531+
// base function to check if a combination of slots warns or not
15321532
function baseCheckWarn(
15331533
shouldWarn: boolean,
15341534
children: RawSlots,
@@ -1572,8 +1572,8 @@ describe('Suspense', () => {
15721572

15731573
test('does not warn on <component :is="null" />', async () => {
15741574
checkNoWarn({
1575-
default: () => [resolveDynamicComponent(null)]
1576-
// fallback: () => null
1575+
default: () => [resolveDynamicComponent(null)],
1576+
fallback: () => null
15771577
})
15781578
})
15791579

0 commit comments

Comments
 (0)