style: remove function names from implicit util functions
This commit is contained in:
parent
f2fcdbf733
commit
0c4d42f3c1
5 changed files with 5 additions and 5 deletions
|
@ -1,3 +1,3 @@
|
|||
export function validateUsername(username: string) {
|
||||
export default (username: string) => {
|
||||
return /^[\w.-]+$/.test(username);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue