Skip to content

Commit 3e36db8

Browse files
committed
Make mineralsFound optional in fullPlayerDataType
Changed the mineralsFound property in fullPlayerDataType from a required array to an optional array. This allows for cases where mineralsFound data may be absent.
1 parent 33978c3 commit 3e36db8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/types/displayDataTypes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export type fullPlayerDataType = {
1212
professions: professionsType[];
1313
shippedItems: generalFormatedItemType[];
1414
cropsShipped: cropsShippedType;
15-
mineralsFound: itemFoundType[];
15+
mineralsFound?: itemFoundType[];
1616
cookedItems: generalFormatedItemType[];
1717
museumCollection: museumCollectionType;
1818
availableSpecialRequests: string[];

0 commit comments

Comments
 (0)