From a54e91705ceff87714ca10b497af37519d883820 Mon Sep 17 00:00:00 2001 From: chaithanyak42 Date: Wed, 27 May 2026 21:47:52 +0530 Subject: [PATCH] docs(sdk): convert deleteLinked comment to concise JSDoc Addresses review: use JSDoc instead of a verbose // block on the type field. Co-Authored-By: Claude Opus 4.7 (1M context) --- mem0-ts/src/client/mem0.types.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mem0-ts/src/client/mem0.types.ts b/mem0-ts/src/client/mem0.types.ts index ae360d584..185b1dbea 100644 --- a/mem0-ts/src/client/mem0.types.ts +++ b/mem0-ts/src/client/mem0.types.ts @@ -40,10 +40,11 @@ export interface GetAllMemoryOptions { export interface DeleteAllMemoryOptions extends EntityOptions {} export interface DeleteMemoryOptions { - // When true, also delete the older memories this one superseded - // (the v3 linked_memory_ids chain), transitively. The delete-side - // counterpart of latestOnly — stops a superseded memory from resurfacing - // after the current one is deleted. Serialized as `delete_linked`. + /** + * When `true`, also delete the older memories this one superseded (the v3 + * linked chain), transitively — the delete-side counterpart of `latestOnly`. + * Off by default. Serialized as `delete_linked`. + */ deleteLinked?: boolean; }