mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-26 17:36:28 -07: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;
|
|
}
|