mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-29 12:26:43 -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;
|
|
}
|