2021-08-19 17:13:22 +08:00
|
|
|
import type Mithril from 'mithril';
|
2021-05-13 07:29:46 +08:00
|
|
|
import User from '../models/User';
|
|
|
|
/**
|
|
|
|
* The `useronline` helper displays a green circle if the user is online
|
|
|
|
*/
|
|
|
|
export default function userOnline(user: User): Mithril.Vnode;
|