diff --git a/abbr.ts b/abbr.ts index 0786f24..0e284c7 100644 --- a/abbr.ts +++ b/abbr.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * AbbrElementProps are the props for the [`abbr`](https://developer.mozilla.org/docs/Web/HTML/Element/abbr) element. * @see */ -export type AbbrElementProps = GlobalAttributes; +export interface AbbrElementProps extends GlobalAttributes { +} /** * abbr renders the [`abbr`](https://developer.mozilla.org/docs/Web/HTML/Element/abbr) element. diff --git a/acronym.ts b/acronym.ts index 2d7f3ac..45578b4 100644 --- a/acronym.ts +++ b/acronym.ts @@ -6,7 +6,8 @@ import { renderElement } from "./lib/mod.ts"; * @see * @deprecated */ -export type AcronymElementProps = GlobalAttributes; +export interface AcronymElementProps extends GlobalAttributes { +} /** * acronym renders the [`acronym`](https://developer.mozilla.org/docs/Web/HTML/Element/acronym) element. diff --git a/address.ts b/address.ts index c565eb0..c8f69f5 100644 --- a/address.ts +++ b/address.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * AddressElementProps are the props for the [`address`](https://developer.mozilla.org/docs/Web/HTML/Element/address) element. * @see */ -export type AddressElementProps = GlobalAttributes; +export interface AddressElementProps extends GlobalAttributes { +} /** * address renders the [`address`](https://developer.mozilla.org/docs/Web/HTML/Element/address) element. diff --git a/article.ts b/article.ts index 0742cf5..9511ec7 100644 --- a/article.ts +++ b/article.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * ArticleElementProps are the props for the [`article`](https://developer.mozilla.org/docs/Web/HTML/Element/article) element. * @see */ -export type ArticleElementProps = GlobalAttributes; +export interface ArticleElementProps extends GlobalAttributes { +} /** * article renders the [`article`](https://developer.mozilla.org/docs/Web/HTML/Element/article) element. diff --git a/aside.ts b/aside.ts index bdb3928..ccda55b 100644 --- a/aside.ts +++ b/aside.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * AsideElementProps are the props for the [`aside`](https://developer.mozilla.org/docs/Web/HTML/Element/aside) element. * @see */ -export type AsideElementProps = GlobalAttributes; +export interface AsideElementProps extends GlobalAttributes { +} /** * aside renders the [`aside`](https://developer.mozilla.org/docs/Web/HTML/Element/aside) element. diff --git a/b.ts b/b.ts index d4e3bc3..7324a3f 100644 --- a/b.ts +++ b/b.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * BElementProps are the props for the [`b`](https://developer.mozilla.org/docs/Web/HTML/Element/b) element. * @see */ -export type BElementProps = GlobalAttributes; +export interface BElementProps extends GlobalAttributes { +} /** * b renders the [`b`](https://developer.mozilla.org/docs/Web/HTML/Element/b) element. diff --git a/bdi.ts b/bdi.ts index a9e57bb..24195fd 100644 --- a/bdi.ts +++ b/bdi.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * BdiElementProps are the props for the [`bdi`](https://developer.mozilla.org/docs/Web/HTML/Element/bdi) element. * @see */ -export type BdiElementProps = GlobalAttributes; +export interface BdiElementProps extends GlobalAttributes { +} /** * bdi renders the [`bdi`](https://developer.mozilla.org/docs/Web/HTML/Element/bdi) element. diff --git a/bdo.ts b/bdo.ts index 1acf2be..5bd3f25 100644 --- a/bdo.ts +++ b/bdo.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * BdoElementProps are the props for the [`bdo`](https://developer.mozilla.org/docs/Web/HTML/Element/bdo) element. * @see */ -export type BdoElementProps = GlobalAttributes; +export interface BdoElementProps extends GlobalAttributes { +} /** * bdo renders the [`bdo`](https://developer.mozilla.org/docs/Web/HTML/Element/bdo) element. diff --git a/big.ts b/big.ts index b31d2c5..4acdeed 100644 --- a/big.ts +++ b/big.ts @@ -6,7 +6,8 @@ import { renderElement } from "./lib/mod.ts"; * @see * @deprecated */ -export type BigElementProps = GlobalAttributes; +export interface BigElementProps extends GlobalAttributes { +} /** * big renders the [`big`](https://developer.mozilla.org/docs/Web/HTML/Element/big) element. diff --git a/center.ts b/center.ts index da090e4..b71e548 100644 --- a/center.ts +++ b/center.ts @@ -6,7 +6,8 @@ import { renderElement } from "./lib/mod.ts"; * @see * @deprecated */ -export type CenterElementProps = GlobalAttributes; +export interface CenterElementProps extends GlobalAttributes { +} /** * center renders the [`center`](https://developer.mozilla.org/docs/Web/HTML/Element/center) element. diff --git a/cite.ts b/cite.ts index f7a19d9..2dca88d 100644 --- a/cite.ts +++ b/cite.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * CiteElementProps are the props for the [`cite`](https://developer.mozilla.org/docs/Web/HTML/Element/cite) element. * @see */ -export type CiteElementProps = GlobalAttributes; +export interface CiteElementProps extends GlobalAttributes { +} /** * cite renders the [`cite`](https://developer.mozilla.org/docs/Web/HTML/Element/cite) element. diff --git a/cli/codegen.ts b/cli/codegen.ts index 1caac6e..6b28e7c 100644 --- a/cli/codegen.ts +++ b/cli/codegen.ts @@ -165,10 +165,10 @@ if (import.meta.main) { }), }); } else { - sourceFile.addTypeAlias({ + sourceFile.addInterface({ name: descriptor.propsInterfaceName, isExported: true, - type: "GlobalAttributes", + extends: ["GlobalAttributes"], docs: toDocs({ description: `${descriptor.propsInterfaceName} are the props for the [\`${descriptor.tag}\`](${descriptor.see}) element.`, diff --git a/code.ts b/code.ts index db6c7f1..9b3f236 100644 --- a/code.ts +++ b/code.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * CodeElementProps are the props for the [`code`](https://developer.mozilla.org/docs/Web/HTML/Element/code) element. * @see */ -export type CodeElementProps = GlobalAttributes; +export interface CodeElementProps extends GlobalAttributes { +} /** * code renders the [`code`](https://developer.mozilla.org/docs/Web/HTML/Element/code) element. diff --git a/datalist.ts b/datalist.ts index 7df5e1e..3637195 100644 --- a/datalist.ts +++ b/datalist.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * DatalistElementProps are the props for the [`datalist`](https://developer.mozilla.org/docs/Web/HTML/Element/datalist) element. * @see */ -export type DatalistElementProps = GlobalAttributes; +export interface DatalistElementProps extends GlobalAttributes { +} /** * datalist renders the [`datalist`](https://developer.mozilla.org/docs/Web/HTML/Element/datalist) element. diff --git a/dd.ts b/dd.ts index 217e1b2..8501341 100644 --- a/dd.ts +++ b/dd.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * DdElementProps are the props for the [`dd`](https://developer.mozilla.org/docs/Web/HTML/Element/dd) element. * @see */ -export type DdElementProps = GlobalAttributes; +export interface DdElementProps extends GlobalAttributes { +} /** * dd renders the [`dd`](https://developer.mozilla.org/docs/Web/HTML/Element/dd) element. diff --git a/dfn.ts b/dfn.ts index 51b4cda..47fcba2 100644 --- a/dfn.ts +++ b/dfn.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * DfnElementProps are the props for the [`dfn`](https://developer.mozilla.org/docs/Web/HTML/Element/dfn) element. * @see */ -export type DfnElementProps = GlobalAttributes; +export interface DfnElementProps extends GlobalAttributes { +} /** * dfn renders the [`dfn`](https://developer.mozilla.org/docs/Web/HTML/Element/dfn) element. diff --git a/dl.ts b/dl.ts index 132eb45..fd10d76 100644 --- a/dl.ts +++ b/dl.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * DlElementProps are the props for the [`dl`](https://developer.mozilla.org/docs/Web/HTML/Element/dl) element. * @see */ -export type DlElementProps = GlobalAttributes; +export interface DlElementProps extends GlobalAttributes { +} /** * dl renders the [`dl`](https://developer.mozilla.org/docs/Web/HTML/Element/dl) element. diff --git a/dt.ts b/dt.ts index 270dcc4..72b285f 100644 --- a/dt.ts +++ b/dt.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * DtElementProps are the props for the [`dt`](https://developer.mozilla.org/docs/Web/HTML/Element/dt) element. * @see */ -export type DtElementProps = GlobalAttributes; +export interface DtElementProps extends GlobalAttributes { +} /** * dt renders the [`dt`](https://developer.mozilla.org/docs/Web/HTML/Element/dt) element. diff --git a/em.ts b/em.ts index a7cdbdb..8dd26b7 100644 --- a/em.ts +++ b/em.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * EmElementProps are the props for the [`em`](https://developer.mozilla.org/docs/Web/HTML/Element/em) element. * @see */ -export type EmElementProps = GlobalAttributes; +export interface EmElementProps extends GlobalAttributes { +} /** * em renders the [`em`](https://developer.mozilla.org/docs/Web/HTML/Element/em) element. diff --git a/fencedframe.ts b/fencedframe.ts index 899eb1b..9904f80 100644 --- a/fencedframe.ts +++ b/fencedframe.ts @@ -6,7 +6,8 @@ import { renderElement } from "./lib/mod.ts"; * @see * @experimental */ -export type FencedframeElementProps = GlobalAttributes; +export interface FencedframeElementProps extends GlobalAttributes { +} /** * fencedframe renders the [`fencedframe`](https://developer.mozilla.org/docs/Web/HTML/Element/fencedframe) element. diff --git a/figcaption.ts b/figcaption.ts index b1d5bb2..c836193 100644 --- a/figcaption.ts +++ b/figcaption.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * FigcaptionElementProps are the props for the [`figcaption`](https://developer.mozilla.org/docs/Web/HTML/Element/figcaption) element. * @see */ -export type FigcaptionElementProps = GlobalAttributes; +export interface FigcaptionElementProps extends GlobalAttributes { +} /** * figcaption renders the [`figcaption`](https://developer.mozilla.org/docs/Web/HTML/Element/figcaption) element. diff --git a/figure.ts b/figure.ts index ace8523..fe4a253 100644 --- a/figure.ts +++ b/figure.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * FigureElementProps are the props for the [`figure`](https://developer.mozilla.org/docs/Web/HTML/Element/figure) element. * @see */ -export type FigureElementProps = GlobalAttributes; +export interface FigureElementProps extends GlobalAttributes { +} /** * figure renders the [`figure`](https://developer.mozilla.org/docs/Web/HTML/Element/figure) element. diff --git a/footer.ts b/footer.ts index 1b65efb..2244f25 100644 --- a/footer.ts +++ b/footer.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * FooterElementProps are the props for the [`footer`](https://developer.mozilla.org/docs/Web/HTML/Element/footer) element. * @see */ -export type FooterElementProps = GlobalAttributes; +export interface FooterElementProps extends GlobalAttributes { +} /** * footer renders the [`footer`](https://developer.mozilla.org/docs/Web/HTML/Element/footer) element. diff --git a/h1.ts b/h1.ts index e7dfeb1..8f173ca 100644 --- a/h1.ts +++ b/h1.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * H1ElementProps are the props for the [`h1`](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements) element. * @see */ -export type H1ElementProps = GlobalAttributes; +export interface H1ElementProps extends GlobalAttributes { +} /** * h1 renders the [`h1`](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements) element. diff --git a/h2.ts b/h2.ts index c838285..918ff7c 100644 --- a/h2.ts +++ b/h2.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * H2ElementProps are the props for the [`h2`](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements) element. * @see */ -export type H2ElementProps = GlobalAttributes; +export interface H2ElementProps extends GlobalAttributes { +} /** * h2 renders the [`h2`](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements) element. diff --git a/h3.ts b/h3.ts index c4a93e9..2915782 100644 --- a/h3.ts +++ b/h3.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * H3ElementProps are the props for the [`h3`](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements) element. * @see */ -export type H3ElementProps = GlobalAttributes; +export interface H3ElementProps extends GlobalAttributes { +} /** * h3 renders the [`h3`](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements) element. diff --git a/h4.ts b/h4.ts index 0a9ba88..196e766 100644 --- a/h4.ts +++ b/h4.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * H4ElementProps are the props for the [`h4`](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements) element. * @see */ -export type H4ElementProps = GlobalAttributes; +export interface H4ElementProps extends GlobalAttributes { +} /** * h4 renders the [`h4`](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements) element. diff --git a/h5.ts b/h5.ts index 3b51b5c..f99c25a 100644 --- a/h5.ts +++ b/h5.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * H5ElementProps are the props for the [`h5`](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements) element. * @see */ -export type H5ElementProps = GlobalAttributes; +export interface H5ElementProps extends GlobalAttributes { +} /** * h5 renders the [`h5`](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements) element. diff --git a/h6.ts b/h6.ts index 217c395..ea54103 100644 --- a/h6.ts +++ b/h6.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * H6ElementProps are the props for the [`h6`](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements) element. * @see */ -export type H6ElementProps = GlobalAttributes; +export interface H6ElementProps extends GlobalAttributes { +} /** * h6 renders the [`h6`](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements) element. diff --git a/header.ts b/header.ts index 118a937..f13b13c 100644 --- a/header.ts +++ b/header.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * HeaderElementProps are the props for the [`header`](https://developer.mozilla.org/docs/Web/HTML/Element/header) element. * @see */ -export type HeaderElementProps = GlobalAttributes; +export interface HeaderElementProps extends GlobalAttributes { +} /** * header renders the [`header`](https://developer.mozilla.org/docs/Web/HTML/Element/header) element. diff --git a/hgroup.ts b/hgroup.ts index 2c6d34f..559cd5d 100644 --- a/hgroup.ts +++ b/hgroup.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * HgroupElementProps are the props for the [`hgroup`](https://developer.mozilla.org/docs/Web/HTML/Element/hgroup) element. * @see */ -export type HgroupElementProps = GlobalAttributes; +export interface HgroupElementProps extends GlobalAttributes { +} /** * hgroup renders the [`hgroup`](https://developer.mozilla.org/docs/Web/HTML/Element/hgroup) element. diff --git a/i.ts b/i.ts index 8997bac..cfa2882 100644 --- a/i.ts +++ b/i.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * IElementProps are the props for the [`i`](https://developer.mozilla.org/docs/Web/HTML/Element/i) element. * @see */ -export type IElementProps = GlobalAttributes; +export interface IElementProps extends GlobalAttributes { +} /** * i renders the [`i`](https://developer.mozilla.org/docs/Web/HTML/Element/i) element. diff --git a/kbd.ts b/kbd.ts index 1ed4851..b7605de 100644 --- a/kbd.ts +++ b/kbd.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * KbdElementProps are the props for the [`kbd`](https://developer.mozilla.org/docs/Web/HTML/Element/kbd) element. * @see */ -export type KbdElementProps = GlobalAttributes; +export interface KbdElementProps extends GlobalAttributes { +} /** * kbd renders the [`kbd`](https://developer.mozilla.org/docs/Web/HTML/Element/kbd) element. diff --git a/main.ts b/main.ts index 0f63210..3a666e4 100644 --- a/main.ts +++ b/main.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * MainElementProps are the props for the [`main`](https://developer.mozilla.org/docs/Web/HTML/Element/main) element. * @see */ -export type MainElementProps = GlobalAttributes; +export interface MainElementProps extends GlobalAttributes { +} /** * main renders the [`main`](https://developer.mozilla.org/docs/Web/HTML/Element/main) element. diff --git a/mark.ts b/mark.ts index 63dadf7..740f507 100644 --- a/mark.ts +++ b/mark.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * MarkElementProps are the props for the [`mark`](https://developer.mozilla.org/docs/Web/HTML/Element/mark) element. * @see */ -export type MarkElementProps = GlobalAttributes; +export interface MarkElementProps extends GlobalAttributes { +} /** * mark renders the [`mark`](https://developer.mozilla.org/docs/Web/HTML/Element/mark) element. diff --git a/nav.ts b/nav.ts index 5eac06e..f9c0f74 100644 --- a/nav.ts +++ b/nav.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * NavElementProps are the props for the [`nav`](https://developer.mozilla.org/docs/Web/HTML/Element/nav) element. * @see */ -export type NavElementProps = GlobalAttributes; +export interface NavElementProps extends GlobalAttributes { +} /** * nav renders the [`nav`](https://developer.mozilla.org/docs/Web/HTML/Element/nav) element. diff --git a/nobr.ts b/nobr.ts index 5daf08b..9317669 100644 --- a/nobr.ts +++ b/nobr.ts @@ -6,7 +6,8 @@ import { renderElement } from "./lib/mod.ts"; * @see * @deprecated */ -export type NobrElementProps = GlobalAttributes; +export interface NobrElementProps extends GlobalAttributes { +} /** * nobr renders the [`nobr`](https://developer.mozilla.org/docs/Web/HTML/Element/nobr) element. diff --git a/noembed.ts b/noembed.ts index 22aaae2..00fa6c2 100644 --- a/noembed.ts +++ b/noembed.ts @@ -6,7 +6,8 @@ import { renderElement } from "./lib/mod.ts"; * @see * @deprecated */ -export type NoembedElementProps = GlobalAttributes; +export interface NoembedElementProps extends GlobalAttributes { +} /** * noembed renders the [`noembed`](https://developer.mozilla.org/docs/Web/HTML/Element/noembed) element. diff --git a/noframes.ts b/noframes.ts index 339d9f7..5eb3a5d 100644 --- a/noframes.ts +++ b/noframes.ts @@ -6,7 +6,8 @@ import { renderElement } from "./lib/mod.ts"; * @see * @deprecated */ -export type NoframesElementProps = GlobalAttributes; +export interface NoframesElementProps extends GlobalAttributes { +} /** * noframes renders the [`noframes`](https://developer.mozilla.org/docs/Web/HTML/Element/noframes) element. diff --git a/noscript.ts b/noscript.ts index 918766d..ba1a643 100644 --- a/noscript.ts +++ b/noscript.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * NoscriptElementProps are the props for the [`noscript`](https://developer.mozilla.org/docs/Web/HTML/Element/noscript) element. * @see */ -export type NoscriptElementProps = GlobalAttributes; +export interface NoscriptElementProps extends GlobalAttributes { +} /** * noscript renders the [`noscript`](https://developer.mozilla.org/docs/Web/HTML/Element/noscript) element. diff --git a/p.ts b/p.ts index f0227d5..6d1d623 100644 --- a/p.ts +++ b/p.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * PElementProps are the props for the [`p`](https://developer.mozilla.org/docs/Web/HTML/Element/p) element. * @see */ -export type PElementProps = GlobalAttributes; +export interface PElementProps extends GlobalAttributes { +} /** * p renders the [`p`](https://developer.mozilla.org/docs/Web/HTML/Element/p) element. diff --git a/picture.ts b/picture.ts index 21d93fc..0a65da3 100644 --- a/picture.ts +++ b/picture.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * PictureElementProps are the props for the [`picture`](https://developer.mozilla.org/docs/Web/HTML/Element/picture) element. * @see */ -export type PictureElementProps = GlobalAttributes; +export interface PictureElementProps extends GlobalAttributes { +} /** * picture renders the [`picture`](https://developer.mozilla.org/docs/Web/HTML/Element/picture) element. diff --git a/plaintext.ts b/plaintext.ts index 2c93082..a55b22e 100644 --- a/plaintext.ts +++ b/plaintext.ts @@ -6,7 +6,8 @@ import { renderElement } from "./lib/mod.ts"; * @see * @deprecated */ -export type PlaintextElementProps = GlobalAttributes; +export interface PlaintextElementProps extends GlobalAttributes { +} /** * plaintext renders the [`plaintext`](https://developer.mozilla.org/docs/Web/HTML/Element/plaintext) element. diff --git a/portal.ts b/portal.ts index 00f6bfa..7704fe5 100644 --- a/portal.ts +++ b/portal.ts @@ -6,7 +6,8 @@ import { renderElement } from "./lib/mod.ts"; * @see * @experimental */ -export type PortalElementProps = GlobalAttributes; +export interface PortalElementProps extends GlobalAttributes { +} /** * portal renders the [`portal`](https://developer.mozilla.org/docs/Web/HTML/Element/portal) element. diff --git a/rb.ts b/rb.ts index 7d8d728..0df7439 100644 --- a/rb.ts +++ b/rb.ts @@ -6,7 +6,8 @@ import { renderElement } from "./lib/mod.ts"; * @see * @deprecated */ -export type RbElementProps = GlobalAttributes; +export interface RbElementProps extends GlobalAttributes { +} /** * rb renders the [`rb`](https://developer.mozilla.org/docs/Web/HTML/Element/rb) element. diff --git a/rp.ts b/rp.ts index d0e03a2..e70e03b 100644 --- a/rp.ts +++ b/rp.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * RpElementProps are the props for the [`rp`](https://developer.mozilla.org/docs/Web/HTML/Element/rp) element. * @see */ -export type RpElementProps = GlobalAttributes; +export interface RpElementProps extends GlobalAttributes { +} /** * rp renders the [`rp`](https://developer.mozilla.org/docs/Web/HTML/Element/rp) element. diff --git a/rt.ts b/rt.ts index ff6e50e..60a50b1 100644 --- a/rt.ts +++ b/rt.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * RtElementProps are the props for the [`rt`](https://developer.mozilla.org/docs/Web/HTML/Element/rt) element. * @see */ -export type RtElementProps = GlobalAttributes; +export interface RtElementProps extends GlobalAttributes { +} /** * rt renders the [`rt`](https://developer.mozilla.org/docs/Web/HTML/Element/rt) element. diff --git a/rtc.ts b/rtc.ts index 5d3da88..8173722 100644 --- a/rtc.ts +++ b/rtc.ts @@ -6,7 +6,8 @@ import { renderElement } from "./lib/mod.ts"; * @see * @deprecated */ -export type RtcElementProps = GlobalAttributes; +export interface RtcElementProps extends GlobalAttributes { +} /** * rtc renders the [`rtc`](https://developer.mozilla.org/docs/Web/HTML/Element/rtc) element. diff --git a/ruby.ts b/ruby.ts index a6e6c65..b39f3bd 100644 --- a/ruby.ts +++ b/ruby.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * RubyElementProps are the props for the [`ruby`](https://developer.mozilla.org/docs/Web/HTML/Element/ruby) element. * @see */ -export type RubyElementProps = GlobalAttributes; +export interface RubyElementProps extends GlobalAttributes { +} /** * ruby renders the [`ruby`](https://developer.mozilla.org/docs/Web/HTML/Element/ruby) element. diff --git a/s.ts b/s.ts index 14286a7..fb18b01 100644 --- a/s.ts +++ b/s.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * SElementProps are the props for the [`s`](https://developer.mozilla.org/docs/Web/HTML/Element/s) element. * @see */ -export interface SElementProps extends GlobalAttributes {} +export interface SElementProps extends GlobalAttributes { +} /** * s renders the [`s`](https://developer.mozilla.org/docs/Web/HTML/Element/s) element. diff --git a/samp.ts b/samp.ts index e4e470a..6263197 100644 --- a/samp.ts +++ b/samp.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * SampElementProps are the props for the [`samp`](https://developer.mozilla.org/docs/Web/HTML/Element/samp) element. * @see */ -export type SampElementProps = GlobalAttributes; +export interface SampElementProps extends GlobalAttributes { +} /** * samp renders the [`samp`](https://developer.mozilla.org/docs/Web/HTML/Element/samp) element. diff --git a/search.ts b/search.ts index f1381c1..4743977 100644 --- a/search.ts +++ b/search.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * SearchElementProps are the props for the [`search`](https://developer.mozilla.org/docs/Web/HTML/Element/search) element. * @see */ -export type SearchElementProps = GlobalAttributes; +export interface SearchElementProps extends GlobalAttributes { +} /** * search renders the [`search`](https://developer.mozilla.org/docs/Web/HTML/Element/search) element. diff --git a/section.ts b/section.ts index 4abea11..19dcaac 100644 --- a/section.ts +++ b/section.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * SectionElementProps are the props for the [`section`](https://developer.mozilla.org/docs/Web/HTML/Element/section) element. * @see */ -export type SectionElementProps = GlobalAttributes; +export interface SectionElementProps extends GlobalAttributes { +} /** * section renders the [`section`](https://developer.mozilla.org/docs/Web/HTML/Element/section) element. diff --git a/small.ts b/small.ts index f86c96c..e803adf 100644 --- a/small.ts +++ b/small.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * SmallElementProps are the props for the [`small`](https://developer.mozilla.org/docs/Web/HTML/Element/small) element. * @see */ -export type SmallElementProps = GlobalAttributes; +export interface SmallElementProps extends GlobalAttributes { +} /** * small renders the [`small`](https://developer.mozilla.org/docs/Web/HTML/Element/small) element. diff --git a/span.ts b/span.ts index ad6e732..82dfc06 100644 --- a/span.ts +++ b/span.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * SpanElementProps are the props for the [`span`](https://developer.mozilla.org/docs/Web/HTML/Element/span) element. * @see */ -export type SpanElementProps = GlobalAttributes; +export interface SpanElementProps extends GlobalAttributes { +} /** * span renders the [`span`](https://developer.mozilla.org/docs/Web/HTML/Element/span) element. diff --git a/strike.ts b/strike.ts index c183bce..d6c3406 100644 --- a/strike.ts +++ b/strike.ts @@ -6,7 +6,8 @@ import { renderElement } from "./lib/mod.ts"; * @see * @deprecated */ -export type StrikeElementProps = GlobalAttributes; +export interface StrikeElementProps extends GlobalAttributes { +} /** * strike renders the [`strike`](https://developer.mozilla.org/docs/Web/HTML/Element/strike) element. diff --git a/strong.ts b/strong.ts index 47a6811..6b8ecce 100644 --- a/strong.ts +++ b/strong.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * StrongElementProps are the props for the [`strong`](https://developer.mozilla.org/docs/Web/HTML/Element/strong) element. * @see */ -export type StrongElementProps = GlobalAttributes; +export interface StrongElementProps extends GlobalAttributes { +} /** * strong renders the [`strong`](https://developer.mozilla.org/docs/Web/HTML/Element/strong) element. diff --git a/sub.ts b/sub.ts index 6f874a3..54914ed 100644 --- a/sub.ts +++ b/sub.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * SubElementProps are the props for the [`sub`](https://developer.mozilla.org/docs/Web/HTML/Element/sub) element. * @see */ -export type SubElementProps = GlobalAttributes; +export interface SubElementProps extends GlobalAttributes { +} /** * sub renders the [`sub`](https://developer.mozilla.org/docs/Web/HTML/Element/sub) element. diff --git a/summary.ts b/summary.ts index f1f4eab..4fef794 100644 --- a/summary.ts +++ b/summary.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * SummaryElementProps are the props for the [`summary`](https://developer.mozilla.org/docs/Web/HTML/Element/summary) element. * @see */ -export type SummaryElementProps = GlobalAttributes; +export interface SummaryElementProps extends GlobalAttributes { +} /** * summary renders the [`summary`](https://developer.mozilla.org/docs/Web/HTML/Element/summary) element. diff --git a/sup.ts b/sup.ts index 7f614b9..d77b103 100644 --- a/sup.ts +++ b/sup.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * SupElementProps are the props for the [`sup`](https://developer.mozilla.org/docs/Web/HTML/Element/sup) element. * @see */ -export type SupElementProps = GlobalAttributes; +export interface SupElementProps extends GlobalAttributes { +} /** * sup renders the [`sup`](https://developer.mozilla.org/docs/Web/HTML/Element/sup) element. diff --git a/title.ts b/title.ts index a782f2d..06e003f 100644 --- a/title.ts +++ b/title.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * TitleElementProps are the props for the [`title`](https://developer.mozilla.org/docs/Web/HTML/Element/title) element. * @see */ -export type TitleElementProps = GlobalAttributes; +export interface TitleElementProps extends GlobalAttributes { +} /** * title renders the [`title`](https://developer.mozilla.org/docs/Web/HTML/Element/title) element. diff --git a/tt.ts b/tt.ts index b33d6c4..0637ce6 100644 --- a/tt.ts +++ b/tt.ts @@ -6,7 +6,8 @@ import { renderElement } from "./lib/mod.ts"; * @see * @deprecated */ -export type TtElementProps = GlobalAttributes; +export interface TtElementProps extends GlobalAttributes { +} /** * tt renders the [`tt`](https://developer.mozilla.org/docs/Web/HTML/Element/tt) element. diff --git a/u.ts b/u.ts index 36f5999..4357e8e 100644 --- a/u.ts +++ b/u.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * UElementProps are the props for the [`u`](https://developer.mozilla.org/docs/Web/HTML/Element/u) element. * @see */ -export type UElementProps = GlobalAttributes; +export interface UElementProps extends GlobalAttributes { +} /** * u renders the [`u`](https://developer.mozilla.org/docs/Web/HTML/Element/u) element. diff --git a/var.ts b/var.ts index beefc43..90ed3ae 100644 --- a/var.ts +++ b/var.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * VarElementProps are the props for the [`var`](https://developer.mozilla.org/docs/Web/HTML/Element/var) element. * @see */ -export type VarElementProps = GlobalAttributes; +export interface VarElementProps extends GlobalAttributes { +} /** * var_ renders the [`var`](https://developer.mozilla.org/docs/Web/HTML/Element/var) element. diff --git a/wbr.ts b/wbr.ts index 00456e5..199c2ef 100644 --- a/wbr.ts +++ b/wbr.ts @@ -5,7 +5,8 @@ import { renderElement } from "./lib/mod.ts"; * WbrElementProps are the props for the [`wbr`](https://developer.mozilla.org/docs/Web/HTML/Element/wbr) element. * @see */ -export type WbrElementProps = GlobalAttributes; +export interface WbrElementProps extends GlobalAttributes { +} /** * wbr renders the [`wbr`](https://developer.mozilla.org/docs/Web/HTML/Element/wbr) element. diff --git a/xmp.ts b/xmp.ts index 04a6f56..947b46e 100644 --- a/xmp.ts +++ b/xmp.ts @@ -6,7 +6,8 @@ import { renderElement } from "./lib/mod.ts"; * @see * @deprecated */ -export type XmpElementProps = GlobalAttributes; +export interface XmpElementProps extends GlobalAttributes { +} /** * xmp renders the [`xmp`](https://developer.mozilla.org/docs/Web/HTML/Element/xmp) element.