This commit is contained in:
Evan You 2016-07-21 02:10:42 -04:00
parent 23a22cbb44
commit 0f5bcdfac8

View File

@ -177,9 +177,7 @@ export function renderMixin (Vue: Class<Component>) {
} }
} }
export function resolveSlots ( export function resolveSlots (renderChildren: any): Object {
renderChildren?: Array<any> | () => Array<any> | string
): Object {
const slots = {} const slots = {}
if (!renderChildren) { if (!renderChildren) {
return slots return slots