This commit is contained in:
Tom Moor 2017-11-08 23:21:32 -08:00
parent e98caf6e51
commit b5dad27b4a
1 changed files with 6 additions and 1 deletions

View File

@ -42,7 +42,12 @@ export type StateTransform = {
wrapText: Function,
};
export type Transform = NodeTransform & StateTransform;
export type SelectionTransform = {
collapseToStart: Function,
collapseToEnd: Function,
};
export type Transform = NodeTransform & StateTransform & SelectionTransform;
export type Editor = {
props: Object,