Merge branch 'next' into refactor/infer-node-types
This commit is contained in:
@@ -18,7 +18,7 @@ import UppercaseNode from './UppercaseNode';
|
|||||||
export type TextNode = Node<{ text: string }, 'text'>;
|
export type TextNode = Node<{ text: string }, 'text'>;
|
||||||
export type ResultNode = Node<{}, 'result'>;
|
export type ResultNode = Node<{}, 'result'>;
|
||||||
export type UppercaseNode = Node<{}, 'uppercase'>;
|
export type UppercaseNode = Node<{}, 'uppercase'>;
|
||||||
export type MyNode = TextNode | ResultNode | UppercaseNode;
|
export type MyNode = Node | TextNode | ResultNode | UppercaseNode;
|
||||||
|
|
||||||
const nodeTypes = {
|
const nodeTypes = {
|
||||||
text: TextNode,
|
text: TextNode,
|
||||||
|
|||||||
Reference in New Issue
Block a user