mirror of
https://github.com/flarum/core.git
synced 2025-10-27 05:31:29 +01:00
Bundled output for commit d268894e61
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
This commit is contained in:
20
js/dist-typings/forum/components/Post.d.ts
vendored
20
js/dist-typings/forum/components/Post.d.ts
vendored
@@ -25,34 +25,34 @@ export default class Post extends Component<import("../../common/Component").Com
|
||||
/**
|
||||
* Get attributes for the post element.
|
||||
*
|
||||
* @return {Object}
|
||||
* @return {Record<string, unknown>}
|
||||
*/
|
||||
elementAttrs(): Object;
|
||||
elementAttrs(): Record<string, unknown>;
|
||||
/**
|
||||
* Get the post's content.
|
||||
*
|
||||
* @return {Array}
|
||||
* @return {import('mithril').Children}
|
||||
*/
|
||||
content(): any[];
|
||||
content(): import('mithril').Children;
|
||||
/**
|
||||
* Get the post's classes.
|
||||
*
|
||||
* @param existing string
|
||||
* @param {string} existing
|
||||
* @returns {string[]}
|
||||
*/
|
||||
classes(existing: any): string[];
|
||||
classes(existing: string): string[];
|
||||
/**
|
||||
* Build an item list for the post's actions.
|
||||
*
|
||||
* @return {ItemList}
|
||||
* @return {ItemList<import('mithril').Children>}
|
||||
*/
|
||||
actionItems(): ItemList<any>;
|
||||
actionItems(): ItemList<import('mithril').Children>;
|
||||
/**
|
||||
* Build an item list for the post's footer.
|
||||
*
|
||||
* @return {ItemList}
|
||||
* @return {ItemList<import('mithril').Children>}
|
||||
*/
|
||||
footerItems(): ItemList<any>;
|
||||
footerItems(): ItemList<import('mithril').Children>;
|
||||
}
|
||||
import Component from "../../common/Component";
|
||||
import SubtreeRetainer from "../../common/utils/SubtreeRetainer";
|
||||
|
||||
Reference in New Issue
Block a user