Skip to content

Commit ec1c526

Browse files
author
Robert Gregg
committed
fix(lib/types/index.js): Replaced the gtfs field option type from value: syring to value : string |
I was getting a flow error of not being able to compare a string to an integer. #656
1 parent 8bf1037 commit ec1c526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/types/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ export type GtfsSpecField = {
578578
helpContent?: string,
579579
inputType: InputType,
580580
name: string,
581-
options?: Array<{text: string, value: string}>,
581+
options?: Array<{text: string, value: string | number}>,
582582
placeholder?: string,
583583
required: boolean
584584
}

0 commit comments

Comments
 (0)