mirror of
https://github.com/paricafe/misskey.git
synced 2024-12-01 13:36:44 -06:00
5 lines
126 B
TypeScript
5 lines
126 B
TypeScript
import { IUser } from '../models/user';
|
|
|
|
export default function(user: IUser): string {
|
|
return user.name || user.username;
|
|
}
|