From 6f264f45d40a32d0c8d6f6811e2b8709c6024772 Mon Sep 17 00:00:00 2001 From: velramiir Date: Wed, 27 Sep 2023 14:54:32 +0200 Subject: [PATCH] chore: improve function clarity --- src/controller/icd10.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/controller/icd10.ts b/src/controller/icd10.ts index b0f44a3..00ea70a 100644 --- a/src/controller/icd10.ts +++ b/src/controller/icd10.ts @@ -62,7 +62,10 @@ export class ICD10Controller { private static removeExtensions( res: Fuse.FuseResult[] ): Fuse.FuseResult[] { - res.forEach((r) => (r.item.extension = r.item.modifierExtension = undefined)); + res.forEach((r) => { + r.item.extension = undefined; + r.item.modifierExtension = undefined; + }); return res; } }