mirror of
https://github.com/flarum/framework.git
synced 2024-12-11 21:43:38 +08:00
16 lines
345 B
TypeScript
16 lines
345 B
TypeScript
|
import * as PusherTypes from 'pusher-js';
|
||
|
|
||
|
declare module 'flarum/forum/ForumApplication' {
|
||
|
export default interface ForumApplication {
|
||
|
pusher: Promise<{
|
||
|
channels: {
|
||
|
main: PusherTypes.Channel;
|
||
|
user: PusherTypes.Channel | null;
|
||
|
};
|
||
|
pusher: PusherTypes.default;
|
||
|
}>;
|
||
|
|
||
|
pushedUpdates: Array<any>;
|
||
|
}
|
||
|
}
|