0.13.3 • Published 6 months ago

@types/xmpp__session-establishment v0.13.3

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/xmpp__session-establishment

Summary

This package contains type definitions for @xmpp/session-establishment (https://github.com/xmppjs/xmpp.js/tree/main/packages/session-establishment).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/xmpp__session-establishment.

index.d.ts

// Type definitions for @xmpp/session-establishment 0.13
// Project: https://github.com/xmppjs/xmpp.js/tree/main/packages/session-establishment
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

import { IQCaller } from '@xmpp/iq/caller';
import { Entity } from '@xmpp/middleware';
import { StreamFeatures } from '@xmpp/stream-features';

export = sessionEstablishment;

declare function sessionEstablishment<TEntity extends Entity>({
    iqCaller,
    streamFeatures,
}: {
    iqCaller: IQCaller<TEntity>;
    streamFeatures: StreamFeatures<TEntity>;
}): void;

Additional Details

Credits

These definitions were written by BendingBender.