Skip to content

Commit

Permalink
fix(lib/types/index.js): Replaced the gtfs field option type from val…
Browse files Browse the repository at this point in the history
…ue: syring to value : string |

I was getting a flow error of not being able to compare a string to an integer.

#656
  • Loading branch information
robertgregg3 committed Jul 19, 2021
1 parent 8bf1037 commit ec1c526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/types/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ export type GtfsSpecField = {
helpContent?: string,
inputType: InputType,
name: string,
options?: Array<{text: string, value: string}>,
options?: Array<{text: string, value: string | number}>,
placeholder?: string,
required: boolean
}
Expand Down

0 comments on commit ec1c526

Please sign in to comment.