This commit is contained in:
Eugene Pankov 2021-05-16 20:17:40 +02:00
parent f709c9010c
commit cbcd0fea61
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -53,7 +53,7 @@ export class EditConnectionModalComponent {
baudratesAutocomplete = text$ => text$.pipe(
debounceTime(200),
distinctUntilChanged(),
map(q => BAUD_RATES.filter(x => !q || x.toString().startsWith(q.toString())))
map((q: string) => BAUD_RATES.filter(x => !q || x.toString().startsWith(q)))
)
portsFormatter = port => {