chore(compat): rename legacyresolveScopedSlots to legacyResolveScopedSlots

The changes correct the casing of a function name from legacyresolveScopedSlots to legacyResolveScopedSlots in both its definition and usage. No logic, control flow, or public API behavior is altered; only the symbol's casing is updated for consistency.
This commit is contained in:
Zhong 2025-08-23 21:30:50 +08:00 committed by GitHub
parent a48ffdad65
commit 952886e299
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ import {
legacyPrependModifier,
legacyRenderSlot,
legacyRenderStatic,
legacyresolveScopedSlots,
legacyResolveScopedSlots,
} from './renderHelpers'
import { resolveFilter } from '../helpers/resolveAssets'
import type { Slots } from '../componentSlots'
@ -183,7 +183,7 @@ export function installCompatInstanceProperties(
_b: () => legacyBindObjectProps,
_v: () => createTextVNode,
_e: () => createCommentVNode,
_u: () => legacyresolveScopedSlots,
_u: () => legacyResolveScopedSlots,
_g: () => legacyBindObjectListeners,
_d: () => legacyBindDynamicKeys,
_p: () => legacyPrependModifier,

View File

@ -87,7 +87,7 @@ type LegacyScopedSlotsData = Array<
| LegacyScopedSlotsData
>
export function legacyresolveScopedSlots(
export function legacyResolveScopedSlots(
fns: LegacyScopedSlotsData,
raw?: Record<string, Slot>,
// the following are added in 2.6