UNPKG

springtype-types

Version:

Types of 1k TypeScript/TSX nano-framework for the web

12 lines (11 loc) 476 B
import { IDOM } from '../../vdom/interface/idom'; import { IElement } from '../../vdom/interface/ielement'; import { IVirtualNode } from '../../vdom/interface/ivirtual-node'; /** * public $st and internal st API */ export interface I$st { dom: IDOM; state: any; render: (virtualNode: IVirtualNode | undefined | string | Array<IVirtualNode | undefined | string>, parentDomElement?: IElement) => Array<IElement | Text | undefined> | IElement | Text | undefined; }