mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-07 05:55:44 +01:00
migrate ui-components from flow to typescript
This commit is contained in:
@@ -10,7 +10,7 @@ export const isMailValid = (mail: string) => {
|
||||
return mailRegex.test(mail);
|
||||
};
|
||||
|
||||
export const isNumberValid = (number: string) => {
|
||||
export const isNumberValid = (number: any) => {
|
||||
return !isNaN(number);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user