UNPKG
@mkljczk/lexical-remark
Version:
latest (0.4.0)
0.4.0
0.3.9
This package contains Markdown helpers and functionality for Lexical using remark-parse.
@mkljczk/lexical-remark
/
lib
/
extensions
/
collapsible
/
dummyRoot
/
node.d.ts
10 lines
(9 loc)
•
296 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
type
{
LexicalNode
}
from
'lexical'
;
export
declare
class
DummyRootNode
{
children
:
LexicalNode
[];
stack
:
LexicalNode
[];
append
(...
nodesToAppend
:
LexicalNode
[]):
void
;
getChildren
():
LexicalNode
[];
setStack
(
stack
:
LexicalNode
[]):
void
;
getStack
():
LexicalNode
[]; }