From b5dad27b4ab92e20e882a5a58a66ec05d9a7f3b4 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 8 Nov 2017 23:21:32 -0800 Subject: [PATCH] :shirt: --- app/components/Editor/types.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/components/Editor/types.js b/app/components/Editor/types.js index 4406f20f9..51562825a 100644 --- a/app/components/Editor/types.js +++ b/app/components/Editor/types.js @@ -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,