forked from MapComplete/MapComplete
Chore: reformat all files with prettier
This commit is contained in:
parent
5757ae5dea
commit
d008dcb54d
214 changed files with 8926 additions and 8196 deletions
|
@ -48,7 +48,7 @@ export abstract class Validator {
|
|||
* Returns 'undefined' if the element is valid
|
||||
*/
|
||||
public getFeedback(s: string, _?: () => string): Translation | undefined {
|
||||
if(this.isValid(s)){
|
||||
if (this.isValid(s)) {
|
||||
return undefined
|
||||
}
|
||||
const tr = Translations.t.validation[this.name]
|
||||
|
@ -57,7 +57,7 @@ export abstract class Validator {
|
|||
}
|
||||
}
|
||||
|
||||
public getPlaceholder(){
|
||||
public getPlaceholder() {
|
||||
return Translations.t.validation[this.name].description
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue