From 98c1c2cc633a515593a3b92823de1cd2e65d40cb Mon Sep 17 00:00:00 2001 From: andrey Date: Mon, 29 Jan 2024 16:15:22 +0100 Subject: [PATCH] fix type bug --- cell/src/decorators.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cell/src/decorators.ts b/cell/src/decorators.ts index 6bf3cb1..20fef67 100644 --- a/cell/src/decorators.ts +++ b/cell/src/decorators.ts @@ -42,7 +42,7 @@ export const cell: CellDecorator = ((options: ICellOptions, prop?, descr?, }, set(value) { const cell = getCell(this, prop, descr, options); - descr.set?.call(this, value); + descr?.set?.call(this, value); cell.set(value); }, configurable: true