Add missing src/renderers/get-user-name.ts

This commit is contained in:
Akihiko Odaki 2018-04-06 12:19:44 +09:00
parent d99d628f50
commit 39b896a900
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
import { IUser } from '../models/user';
export default function(user: IUser): string {
return user.name || '名無し';
}