diff --git a/src/declarations/stencil-public-runtime.ts b/src/declarations/stencil-public-runtime.ts index 93fc57f7b70..7edd4ce87ba 100644 --- a/src/declarations/stencil-public-runtime.ts +++ b/src/declarations/stencil-public-runtime.ts @@ -744,7 +744,7 @@ export namespace JSXBase { view: JSXBase.SVGAttributes; } - export interface SlotAttributes { + export interface SlotAttributes extends JSXAttributes { name?: string; slot?: string; onSlotchange?: (event: Event) => void; @@ -1579,11 +1579,7 @@ export namespace JSXBase { zoomAndPan?: string; } - export interface DOMAttributes { - // vdom specific - key?: string | number; - - ref?: (elm?: T) => void; + export interface DOMAttributes extends JSXAttributes { slot?: string; part?: string; exportparts?: string; @@ -1731,6 +1727,12 @@ export namespace JSXBase { } } +export interface JSXAttributes { + // vdom specific + key?: string | number; + ref?: (elm?: T) => void; +} + export interface CustomElementsDefineOptions { exclude?: string[]; resourcesUrl?: string;