From cb9405bcee5fca6ec15484a684c2ecacff8f13b2 Mon Sep 17 00:00:00 2001 From: Tat Dat Duong Date: Mon, 10 Feb 2025 17:52:51 -0800 Subject: [PATCH] Allow update: null --- libs/sdk-js/src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/sdk-js/src/types.ts b/libs/sdk-js/src/types.ts index 643128e83..6945e9eba 100644 --- a/libs/sdk-js/src/types.ts +++ b/libs/sdk-js/src/types.ts @@ -26,7 +26,7 @@ export interface Command { /** * An object to update the thread state with. */ - update?: Record | [string, unknown][]; + update?: Record | [string, unknown][] | null; /** * The value to return from an `interrupt` function call.