UNPKG
wxml
Version:
latest (2.2.2)
2.2.2
2.2.1
2.2.0
2.0.1
2.0.0
wxml parser and serializer.
github.com/oft/wxml
oft/wxml
wxml
/
lib
/
nodes
/
comment.d.ts
15 lines
(14 loc)
•
311 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/** *
@since
20180808 11:11 *
@author
vivaxy
*/
import
BaseNode
from
'./base'
;
import
NODE_TYPES
from
'../types/node-types'
;
export
default
class
CommentNode
extends
BaseNode
{
comment
:
string
;
constructor
(
comment
:
string
);
toJSON
(): {
type
:
NODE_TYPES
;
comment
:
string
; }; }