]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/form-validators/form-validator.model.ts
Migrate client to eslint
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / form-validators / form-validator.model.ts
index 248a3b1d32c0b22300809b1b39520e6bdf4dacc8..6f2472ccded1942403e019ffd6addf0ed5b6193f 100644 (file)
@@ -1,7 +1,7 @@
 import { ValidatorFn } from '@angular/forms'
 
 export type BuildFormValidator = {
-  VALIDATORS: ValidatorFn[],
+  VALIDATORS: ValidatorFn[]
   MESSAGES: { [ name: string ]: string }
 }
 
@@ -10,5 +10,5 @@ export type BuildFormArgument = {
 }
 
 export type BuildFormDefaultValues = {
-  [ name: string ]: string | string[] | BuildFormDefaultValues
+  [ name: string ]: number | string | string[] | BuildFormDefaultValues
 }