mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 22:53:37 +08:00
cc29cf3e10
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
8 lines
275 B
TypeScript
8 lines
275 B
TypeScript
import type 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;
|