init.d.ts 377 B

123456789
  1. import { Module } from "./modules/module";
  2. import { VNode } from "./vnode";
  3. import { DOMAPI } from "./htmldomapi";
  4. export declare type Options = {
  5. experimental?: {
  6. fragments?: boolean;
  7. };
  8. };
  9. export declare function init(modules: Array<Partial<Module>>, domApi?: DOMAPI, options?: Options): (oldVnode: VNode | Element | DocumentFragment, vnode: VNode) => VNode;