Skip to content

Commit 8d5045f

Browse files
committed
Designate WheelchairPlaces#count as optional (previously required)
1 parent 3de9c50 commit 8d5045f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/WheelchairPlaces.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export interface WheelchairPlaces {
77
/**
88
* The number of designated places for wheelchairs, for example, in a cinema or theater.
99
*/
10-
count: number;
10+
count?: number;
1111
/**
1212
* Is there additional space for an assistant?
1313
*/
@@ -27,6 +27,7 @@ export const getWheelchairPlacesSchemaDefinition: () => SchemaDefinition = () =>
2727
count: {
2828
type: 'SimpleSchema.Integer',
2929
min: 0,
30+
optional: true,
3031
},
3132
hasSpaceForAssistant: {
3233
type: Boolean,

0 commit comments

Comments
 (0)