mirror of
https://github.com/flarum/framework.git
synced 2024-12-13 07:03:35 +08:00
c3a684c7ed
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
8 lines
275 B
TypeScript
8 lines
275 B
TypeScript
import * as Mithril from 'mithril';
|
|
/**
|
|
* The `humanTime` helper displays a time in a human-friendly time-ago format
|
|
* (e.g. '12 days ago'), wrapped in a <time> tag with other information about
|
|
* the time.
|
|
*/
|
|
export default function humanTime(time: Date): Mithril.Vnode;
|