mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-25 20:18:05 +09: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;
|
||
|
}
|