1
0
mirror of https://github.com/flarum/core.git synced 2025-08-08 09:26:34 +02:00

Bundled output for commit d268894e61

Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
This commit is contained in:
flarum-bot
2021-12-27 19:02:33 +00:00
parent d268894e61
commit 3d62a6af27
67 changed files with 578 additions and 615 deletions

View File

@@ -13,27 +13,27 @@ export default class EventPost extends Post {
/**
* Get the name of the event icon.
*
* @return {String}
* @return {string}
*/
icon(): string;
/**
* Get the description text for the event.
*
* @param {Object} data
* @return {String|Object} The description to render in the DOM
* @param {Record<string, unknown>} data
* @return {import('mithril').Children} The description to render in the DOM
*/
description(data: Object): string | Object;
description(data: Record<string, unknown>): import('mithril').Children;
/**
* Get the translation key for the description of the event.
*
* @return {String}
* @return {string}
*/
descriptionKey(): string;
/**
* Get the translation data for the description of the event.
*
* @return {Object}
* @return {Record<string, unknown>}
*/
descriptionData(): Object;
descriptionData(): Record<string, unknown>;
}
import Post from "./Post";