1
0
mirror of https://github.com/SomboChea/ui synced 2026-01-17 16:45:49 +07:00

fix: improved typing (#174)

This commit is contained in:
Thomas Klein
2019-10-10 22:20:05 +02:00
committed by Juan Picado @jotadeveloper
parent 68b7171de4
commit e0642a9d0d
16 changed files with 37 additions and 30 deletions

View File

@@ -10,7 +10,7 @@ export function isURL(url: string): boolean {
});
}
export function isEmail(email): boolean {
export function isEmail(email: string): boolean {
return isEmailValidator(email || '');
}