[TIL] Vue: parsing input value as number

TIL about the Vue modifier .number on v-model, which can be used to parse the value of an <input> element as number (instead of as string):

<input v-model.number="searchFilters.amount" />

typeof searchFilters.amount will be number.