NodeStateJSON
typeThe NodeState JSON produced by this LexicalNode
type NodeStateJSON<T extends LexicalNode> = Prettify<{ [NODE_STATE_KEY]?: Prettify<CollectStateJSON<GetNodeStateConfig<T>, false>>; } & CollectStateJSON<GetNodeStateConfig<T>, true>>
Import
import { NodeStateJSON } from '@modular/sdk/editor';