From bfdffe1c062805ae6de42dcb940e0b0f5652a207 Mon Sep 17 00:00:00 2001 From: Laurin Quast Date: Thu, 23 Apr 2020 21:29:46 +0200 Subject: [PATCH] fix: expose method on the public api --- src/types/CommandOptions.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/types/CommandOptions.ts b/src/types/CommandOptions.ts index dd9d0cc3..3de5a749 100644 --- a/src/types/CommandOptions.ts +++ b/src/types/CommandOptions.ts @@ -19,4 +19,8 @@ export interface TextApi { * @param selection */ setSelectionRange (selection: TextRange): TextState; + /** + * Get the current text state + */ + getState(): TextState; }