-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtypedefs.json
42 lines (42 loc) · 1.76 KB
/
typedefs.json
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
{
"preact.PreactProps": {
"link": "https://github.com/externs/preact/wiki/API#type-preactprops",
"description": null
},
"preact.AcceptedChild": {
"link": "https://github.com/externs/preact/wiki/API#type-acceptedchild",
"description": "A child node that can be passed to some methods."
},
"preact.h": {
"link": "https://github.com/externs/preact/wiki/API#hnodename-stringfunctionattributes-preactpropsargs-acceptedchildarrayacceptedchild-vnode",
"description": "The pragma (rendering) function."
},
"preact.cloneElement": {
"link": "https://github.com/externs/preact/wiki/API#cloneelementvnode-vnodeprops-preactpropsargs-acceptedchildarrayacceptedchild-vnode",
"description": "Clones the given VNode, optionally adding attributes/props and replacing its children."
},
"preact.createRef": {
"link": "https://github.com/externs/preact/wiki/API#createref-object",
"description": "Just returns an object...?"
},
"preact.render": {
"link": "https://github.com/externs/preact/wiki/API#rendervnode-vnodeparent-elementmerge-element-void",
"description": "Render JSX into a `parent` Element."
},
"preact.rerender": {
"link": "https://github.com/externs/preact/wiki/API#rerender-void",
"description": "Rerenders all rendered elements."
},
"preact.Component": {
"link": "https://github.com/externs/preact/wiki/Component#type-component",
"description": "A base class that is usually subclassed to create stateful _Preact_ components."
},
"preact.options": {
"link": "https://github.com/externs/preact/wiki/Options#type-options",
"description": "Options for Preact."
},
"preact.VNode": {
"link": "https://github.com/externs/preact/wiki/VNode#type-vnode",
"description": "Virtual DOM Node."
}
}