Newer
Older
alert / js / node_modules / flarum / common / helpers / username.d.ts
@Réz István Réz István on 18 Nov 2021 301 bytes first commit
import * as Mithril from 'mithril';
import User from '../models/User';
/**
 * The `username` helper displays a user's username in a <span class="username">
 * tag. If the user doesn't exist, the username will be displayed as [deleted].
 */
export default function username(user: User): Mithril.Vnode;