UNPKG
@the-little-books/little
Version:
latest (0.2.8)
0.2.8
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
@the-little-books/little
/
lib
/
node
/
node-api.d.ts
6 lines
(5 loc)
•
233 B
TypeScript
View Raw
1
2
3
4
5
6
import
*
as
Node
from
"../node"
;
export
declare
function
h
(
tag
:
string
,
attributes
: { [key:
string
]:
string
; } |
undefined
,
ch
:
Node
.
Node
|
Array
<
Node
.
Node
>
):
Node
.
Element
;
export
declare
function
text
(
value
:
string
):
Node
.
Text
;