diff --git a/eval/expression.ts b/eval/expression.ts index f7e3c079..cdd2b097 100644 --- a/eval/expression.ts +++ b/eval/expression.ts @@ -101,10 +101,6 @@ class ExpressionImpl extends String implements ExpressionProps { this.prototype[Symbol.toStringTag] = "Expression"; } - constructor(raw: string) { - super(raw); - } - [vimExpressionOf](): string { return this.valueOf(); } diff --git a/eval/string.ts b/eval/string.ts index 0d580971..e07f893c 100644 --- a/eval/string.ts +++ b/eval/string.ts @@ -136,10 +136,6 @@ class RawStringImpl extends String implements RawStringProps { #cached?: string; - constructor(raw: string) { - super(raw); - } - [vimExpressionOf](): string { this.#cached ??= `"${ this.valueOf().replaceAll(/\\.|(")/g, (m, q: string) => q ? `\\${q}` : m) diff --git a/eval/use_eval.ts b/eval/use_eval.ts index dcefbf89..6ffa66ad 100644 --- a/eval/use_eval.ts +++ b/eval/use_eval.ts @@ -28,7 +28,7 @@ import type { RawString } from "./string.ts"; * } * ``` */ -export async function useEval( +export async function useEval( denops: Denops, executor: (helper: UseEvalHelper) => Promise, ): Promise {