index.d.ts 280 B

1234
  1. type Child = string | Node | null | undefined | readonly Child[]
  2. export default function crelt(elt: string | HTMLElement, attrs: {[attr: string]: any}, ...children: Child[]): HTMLElement
  3. export default function crelt(elt: string | HTMLElement, ...children: Child[]): HTMLElement