We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7c13c2 commit ce35159Copy full SHA for ce35159
src/core/vdom/helpers/normalize-scoped-slots.js
@@ -2,7 +2,7 @@
2
3
import { emptyObject } from 'core/util/index'
4
5
-export function normalizeScopedSlots (slots: { [key: string]: Function }) {
+export function normalizeScopedSlots (slots: { [key: string]: Function } | void): any {
6
if (!slots) {
7
return emptyObject
8
} else if (slots._normalized) {
0 commit comments