From 39710bd40b04f2e9607f27d891c65ba9c761b402 Mon Sep 17 00:00:00 2001 From: Andreas Arvidsson Date: Wed, 20 Nov 2024 03:40:58 +0100 Subject: [PATCH] Add bind --- .../modifiers/scopeHandlers/ScopeHandlerFactoryImpl.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/ScopeHandlerFactoryImpl.ts b/packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/ScopeHandlerFactoryImpl.ts index b4b071c3a6..ac121d4cd6 100644 --- a/packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/ScopeHandlerFactoryImpl.ts +++ b/packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/ScopeHandlerFactoryImpl.ts @@ -46,6 +46,7 @@ import type { CustomScopeType, ScopeHandler } from "./scopeHandler.types"; export class ScopeHandlerFactoryImpl implements ScopeHandlerFactory { constructor(private languageDefinitions: LanguageDefinitions) { this.tryCreate = this.tryCreate.bind(this); + this.create = this.create.bind(this); } tryCreate(