1
0
mirror of synced 2024-11-25 23:06:02 +03:00

chore: Typehints fixes

This commit is contained in:
Zaytsev Kirill 2020-11-10 09:47:40 +03:00
parent b567c115c9
commit 602af0a22d

View File

@ -19,7 +19,7 @@ export interface FormularioOptions {
*/ */
export default class Formulario { export default class Formulario {
public validationRules: Record<string, ValidationRuleFn> = {} public validationRules: Record<string, ValidationRuleFn> = {}
public validationMessages: Record<string, Function> = {} public validationMessages: Record<string, ValidationMessageI18NFn|string> = {}
constructor (options?: FormularioOptions) { constructor (options?: FormularioOptions) {
this.validationRules = validationRules this.validationRules = validationRules