From 98c1c2cc633a515593a3b92823de1cd2e65d40cb Mon Sep 17 00:00:00 2001 From: andrey Date: Mon, 29 Jan 2024 16:15:22 +0100 Subject: [PATCH 1/2] 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 From b0c790db166495b72fd7df7a2e93716d5c261b3d Mon Sep 17 00:00:00 2001 From: andrey Date: Mon, 29 Jan 2024 16:33:12 +0100 Subject: [PATCH 2/2] upd ver --- cell/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cell/package.json b/cell/package.json index ffc4934..1249865 100644 --- a/cell/package.json +++ b/cell/package.json @@ -1,6 +1,6 @@ { "name": "@cmmn/cell", - "version": "2.2.1", + "version": "2.2.2", "description": "pull-based state flow", "publishConfig": { "access": "public"