(location: number)
| 24 | }; |
| 25 | |
| 26 | function getLocationString(location: number) { |
| 27 | if (location == null) { |
| 28 | return ''; |
| 29 | } |
| 30 | |
| 31 | return `${location}°`; |
| 32 | } |
| 33 | |
| 34 | function locationChanged(inputElement: HTMLInputElement, newValue: string, type: 'latitude' | 'longitude') { |
| 35 | if (newValue.trim() === '') { |
no outgoing calls
no test coverage detected