-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathsnabbdom-to-html.d.ts
69 lines (57 loc) · 1.57 KB
/
snabbdom-to-html.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
declare module "snabbdom-to-html-common" {
import {VNode} from "snabbdom/vnode"
interface Module {
(vnode: VNode, attributes: Map<string, number | string>): void;
}
interface ModuleIndex {
class: Module;
props: Module;
attributes: Module;
style: Module;
}
export {
VNode,
ModuleIndex,
Module
}
}
declare module "snabbdom-to-html" {
import {VNode} from "snabbdom-to-html-common";
function toHTML(vnode: VNode): string;
export = toHTML
}
declare module "snabbdom-to-html/init" {
import {VNode, Module, ModuleIndex} from "snabbdom-to-html-common";
function init (modules: Module[]): (vnode: VNode) => string;
export = init
}
declare module "snabbdom-to-html/modules" {
import {ModuleIndex} from "snabbdom-to-html-common";
let modules: ModuleIndex;
export = modules
}
declare module "snabbdom-to-html/modules/index" {
import {ModuleIndex} from "snabbdom-to-html-common";
let modules: ModuleIndex;
export = modules
}
declare module "snabbdom-to-html/modules/attributes" {
import {Module} from "snabbdom-to-html-common";
let attrModule: Module;
export = attrModule;
}
declare module "snabbdom-to-html/modules/class" {
import {Module} from "snabbdom-to-html-common";
let classModule: Module;
export = classModule;
}
declare module "snabbdom-to-html/modules/props" {
import {Module} from "snabbdom-to-html-common";
let propsModule: Module;
export = propsModule;
}
declare module "snabbdom-to-html/modules/style" {
import {Module} from "snabbdom-to-html-common";
let styleModule: Module;
export = styleModule;
}