diff --git a/dom-bindings.d.ts b/dom-bindings.d.ts index 7061d1f..ea372a6 100644 --- a/dom-bindings.d.ts +++ b/dom-bindings.d.ts @@ -90,16 +90,20 @@ export interface SimpleBindingData extends BaseBindingData { export interface SlotBindingData extends BaseBindingData { template?: TemplateChunk + attributes: AttributeExpressionData[] + name: string +} + +export interface TagSlotData { + id: string + html: string + bindings: BindingData[] } export interface TagBindingData extends BaseBindingData { getComponent(name: string): TemplateChunk attributes: AttributeExpressionData[] - slots: { - id: string - html: string - bindings: BindingData[] - }[] + slots: TagSlotData[] } export type BindingData =