The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/client/meteor.d.ts

28 lines
536 B

/* eslint-disable @typescript-eslint/camelcase */
import { EJSON } from 'meteor/ejson';
declare module 'meteor/meteor' {
namespace Meteor {
interface IDDPMessage {
msg: 'method';
method: string;
params: EJSON[];
id: string;
}
interface IDDPUpdatedMessage {
msg: 'updated';
methods: string[];
}
interface IMeteorConnection {
_send(message: IDDPMessage): void;
_livedata_data(message: IDDPUpdatedMessage): void;
onMessage(message: string): void;
}
const connection: IMeteorConnection;
}
}