mirror of
https://github.com/flarum/framework.git
synced 2024-12-15 00:23:38 +08:00
c3a684c7ed
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
8 lines
301 B
TypeScript
8 lines
301 B
TypeScript
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;
|