mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 01:03:09 +02: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;
|
|
}
|