forked from MapComplete/MapComplete
		
	Chore: fix warnings
This commit is contained in:
		
							parent
							
								
									ab70c6adc0
								
							
						
					
					
						commit
						47ae4cb456
					
				
					 38 changed files with 49 additions and 90 deletions
				
			
		|  | @ -47,7 +47,7 @@ export abstract class Validator { | |||
|      * | ||||
|      * Returns 'undefined' if the element is valid | ||||
|      */ | ||||
|     public getFeedback(s: string, requestCountry?: () => string): Translation | undefined { | ||||
|     public getFeedback(s: string, _?: () => string): Translation | undefined { | ||||
|         if(this.isValid(s)){ | ||||
|             return undefined | ||||
|         } | ||||
|  | @ -61,16 +61,14 @@ export abstract class Validator { | |||
|         return Translations.t.validation[this.name].description | ||||
|     } | ||||
| 
 | ||||
|     public isValid(string: string, requestCountry?: () => string): boolean { | ||||
|     public isValid(_: string, __?: () => string): boolean { | ||||
|         return true | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|      * Reformats for the human | ||||
|      * @param s | ||||
|      * @param country | ||||
|      */ | ||||
|     public reformat(s: string, country?: () => string): string { | ||||
|     public reformat(s: string, _?: () => string): string { | ||||
|         return s | ||||
|     } | ||||
| } | ||||
|  |  | |||
|  | @ -1,8 +1,5 @@ | |||
| import Combine from "../../Base/Combine" | ||||
| import Wikidata from "../../../Logic/Web/Wikidata" | ||||
| import { UIEventSource } from "../../../Logic/UIEventSource" | ||||
| import Locale from "../../i18n/Locale" | ||||
| import { Utils } from "../../../Utils" | ||||
| import WikidataSearchBox from "../../Wikipedia/WikidataSearchBox" | ||||
| import { Validator } from "../Validator" | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue