misskey/src/renderers/get-user-name.ts
2018-04-06 12:19:44 +09:00

6 lines
124 B
TypeScript

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