Skip to content

Commit

Permalink
Designate WheelchairPlaces#count as optional (previously required)
Browse files Browse the repository at this point in the history
  • Loading branch information
opyh committed Sep 5, 2024
1 parent 3de9c50 commit 8d5045f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/WheelchairPlaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export interface WheelchairPlaces {
/**
* The number of designated places for wheelchairs, for example, in a cinema or theater.
*/
count: number;
count?: number;
/**
* Is there additional space for an assistant?
*/
Expand All @@ -27,6 +27,7 @@ export const getWheelchairPlacesSchemaDefinition: () => SchemaDefinition = () =>
count: {
type: 'SimpleSchema.Integer',
min: 0,
optional: true,
},
hasSpaceForAssistant: {
type: Boolean,
Expand Down

0 comments on commit 8d5045f

Please sign in to comment.