mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-09-23 02:01:59 +03:00
4 lines
122 B
TypeScript
4 lines
122 B
TypeScript
export default function(user: { name?: string | null, username: string }): string {
|
|
return user.name || user.username;
|
|
}
|