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

View File

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