Skip to content

Commit 5ab63fa

Browse files
authored
fix: Fix internal setter signature caching (#2521)
1 parent 5e17892 commit 5ab63fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/program.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3932,7 +3932,7 @@ export class Field extends VariableLikeElement {
39323932
get internalSetterSignature(): Signature {
39333933
var cached = this._internalSetterSignature;
39343934
if (!cached) {
3935-
this._internalGetterSignature = cached = new Signature(this.program, [ this.type ], Type.void, this.thisType);
3935+
this._internalSetterSignature = cached = new Signature(this.program, [ this.type ], Type.void, this.thisType);
39363936
}
39373937
return cached;
39383938
}

0 commit comments

Comments
 (0)