From ff96e7861cb393a8945d5302db7d9cd5a95570d2 Mon Sep 17 00:00:00 2001 From: dcode Date: Sun, 25 Sep 2022 19:42:56 +0200 Subject: [PATCH] Fix internal setter signature caching --- src/program.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/program.ts b/src/program.ts index e1212b4dd4..ff7e30098a 100644 --- a/src/program.ts +++ b/src/program.ts @@ -3932,7 +3932,7 @@ export class Field extends VariableLikeElement { get internalSetterSignature(): Signature { var cached = this._internalSetterSignature; if (!cached) { - this._internalGetterSignature = cached = new Signature(this.program, [ this.type ], Type.void, this.thisType); + this._internalSetterSignature = cached = new Signature(this.program, [ this.type ], Type.void, this.thisType); } return cached; }