stanza-extend
Version:
Modern XMPP in the browser, with a JSON API
18 lines (17 loc) • 432 B
TypeScript
import { DefinitionOptions } from '../jxt';
import { NS_NICK } from '../Namespaces';
import { PubsubItemContent } from './';
declare module './' {
interface Message {
nick?: string;
}
interface Presence {
nick?: string;
}
}
export interface UserNick extends PubsubItemContent {
itemType?: typeof NS_NICK;
nick?: string;
}
declare const Protocol: DefinitionOptions[];
export default Protocol;