5 lines
124 B
TypeScript
5 lines
124 B
TypeScript
import { IUser } from '../models/user';
|
|
|
|
export default function(user: IUser): string {
|
|
return user.name || '名無し';
|
|
}
|