mirror of
https://github.com/paricafe/misskey.git
synced 2024-12-01 15:56:44 -06:00
3 lines
122 B
TypeScript
3 lines
122 B
TypeScript
export default function(user: { name?: string | null, username: string }): string {
|
|
return user.name || user.username;
|
|
}
|