UNPKG
boa-handler-dom
Version:
latest (0.7.0)
0.7.0
0.6.0
0.5.0
0.4.3
0.4.2
0.4.1
0.4.0
A b-o-a handler for rendering to DOM
github.com/bouzuya/boa-handler-dom
bouzuya/boa-handler-dom
boa-handler-dom
/
lib
/
index.d.ts
11 lines
(10 loc)
•
258 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
{
Handler
}
from
'boa-core'
;
export
interface
DOMResponse
{
handler
:
Handler
; }
declare
const
init
:
(
domOptions
: { root:
string
; render: (state:
any
, options:
any
) =>
any
; renderActionType?:
string
; }
) =>
DOMResponse
;
export
{ init };