mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-18 01:14:22 +02:00
refactor domain types to rename itemType
This commit is contained in:
@@ -15,8 +15,8 @@ const hasRequiredDragProperties = (
|
||||
item !== null &&
|
||||
'id' in item &&
|
||||
typeof (item as any).id === 'string' &&
|
||||
'itemType' in item &&
|
||||
typeof (item as any).itemType === 'string' &&
|
||||
'_itemType' in item &&
|
||||
typeof (item as any)._itemType === 'string' &&
|
||||
'_serverId' in item &&
|
||||
typeof (item as any)._serverId === 'string'
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user