Refactorng
This commit is contained in:
parent
865fd25af1
commit
aa4ef6745a
132 changed files with 180 additions and 212 deletions
5
src/misc/get-user-name.ts
Normal file
5
src/misc/get-user-name.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { IUser } from '../models/user';
|
||||
|
||||
export default function(user: IUser): string {
|
||||
return user.name || '名無し';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue