You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/svelte/src/compiler/errors.js
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -296,7 +296,9 @@ const slots = {
296
296
/** @param {string} name @param {string} component */
297
297
'duplicate-slot-name': (name,component)=>`Duplicate slot name '${name}' in <${component}>`,
298
298
'invalid-default-slot-content': ()=>
299
-
`Found default slot content alongside an explicit slot="default"`
299
+
`Found default slot content alongside an explicit slot="default"`,
300
+
'conflicting-children-snippet': ()=>
301
+
`Cannot use explicit children snippet at the same time as implicit children content. Remove either the non-whitespace content or the children snippet block`
'Cannot use explicit children snippet at the same time as implicit children content. Remove either the non-whitespace content or the children snippet block',
0 commit comments