From 439b2143cd2744dfc492b20c42f58b96b7bb4f92 Mon Sep 17 00:00:00 2001 From: shoga Date: Tue, 22 Oct 2024 13:38:10 +0900 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/models/item.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/common/models/item.ts b/common/models/item.ts index 80bc8335..674ac7e7 100644 --- a/common/models/item.ts +++ b/common/models/item.ts @@ -45,7 +45,12 @@ export class ItemEntity implements Item { private _assignee: string | null, ) {} - static createNew({ name, abbr, price, type }: Omit): ItemEntity { + static createNew({ + name, + abbr, + price, + type, + }: Omit): ItemEntity { return new ItemEntity(undefined, name, abbr, price, type, null); }