mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-26 20:48:11 +09:00
6 lines
126 B
TypeScript
6 lines
126 B
TypeScript
import { IUser } from '../models/user';
|
|
|
|
export default function(user: IUser): string {
|
|
return user.name || user.username;
|
|
}
|