diff --git a/packages/cursorless-vscode/src/keyboard/KeyboardCommandHandler.ts b/packages/cursorless-vscode/src/keyboard/KeyboardCommandHandler.ts index dc48d87bb8..ccbee152cc 100644 --- a/packages/cursorless-vscode/src/keyboard/KeyboardCommandHandler.ts +++ b/packages/cursorless-vscode/src/keyboard/KeyboardCommandHandler.ts @@ -8,7 +8,7 @@ import { import KeyboardCommandsTargeted from "./KeyboardCommandsTargeted"; import { ModalVscodeCommandDescriptor } from "./TokenTypes"; import { surroundingPairsDelimiters } from "@cursorless/cursorless-engine"; -import { isString } from "./isString"; +import { isString } from "lodash"; /** * This class defines the keyboard commands available to our modal keyboard diff --git a/packages/cursorless-vscode/src/keyboard/isString.ts b/packages/cursorless-vscode/src/keyboard/isString.ts deleted file mode 100644 index 60cd9adcdd..0000000000 --- a/packages/cursorless-vscode/src/keyboard/isString.ts +++ /dev/null @@ -1,3 +0,0 @@ -export function isString(input: any): input is string { - return typeof input === "string" || input instanceof String; -}