Skip to content

Commit

Permalink
Bundled output for commit e676131
Browse files Browse the repository at this point in the history
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
  • Loading branch information
flarum-bot committed Oct 23, 2024
1 parent e676131 commit a18c87d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions js/dist-typings/forum/components/PostPoll.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ import Post from 'flarum/common/models/Post';
export interface PostPollAttrs extends ComponentAttrs {
poll: Poll;
post?: Post;
tooltipVisible?: boolean;
}
export default class PostPoll extends Component<PostPollAttrs> {
loadingOptions: boolean;
useSubmitUI: boolean;
pendingSubmit: boolean;
pendingOptions: any;
updateVisibility: () => void;
oninit(vnode: Mithril.Vnode<PostPollAttrs, this>): void;
oncreate(vnode: Mithril.Vnode<PostPollAttrs, this>): void;
onremove(vnode: Mithril.Vnode<PostPollAttrs, this>): void;
Expand All @@ -21,7 +23,10 @@ export default class PostPoll extends Component<PostPollAttrs> {
viewOption(opt: PollOption): JSX.Element;
changeVote(option: PollOption, evt: Event): Promise<void> | undefined;
onsubmit(): Promise<void>;
submit(optionIds: any, cb: any, onerror: any): Promise<void>;
submit(optionIds: Iterable<unknown> | ArrayLike<unknown>, cb: {
(): void;
(): void;
} | null, onerror: any): Promise<void>;
showVoters(): void;
deletePoll(): void;
/**
Expand All @@ -33,5 +38,5 @@ export default class PostPoll extends Component<PostPollAttrs> {
/**
* Alert before navigating away using browser's 'beforeunload' event
*/
preventClose(e: any): true | undefined;
preventClose(e: Event): true | undefined;
}
2 changes: 1 addition & 1 deletion js/dist/forum.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/dist/forum.js.map

Large diffs are not rendered by default.

0 comments on commit a18c87d

Please sign in to comment.