UNPKG

@icebreakers/wxml

Version:

wxml parser and serializer. fork form wxml and improve. thanks to vivaxy and roadupcc

11 lines (10 loc) 272 B
import BaseNode from './base'; import NODE_TYPES from '../types/node-types'; export default class TextNode extends BaseNode { textContent: string; constructor(text: string); toJSON(): { type: NODE_TYPES; textContent: string; }; }