npm.io
0.14.0 • Published 11 months ago

@types/xmpp__session-establishment

Licence
MIT
Version
0.14.0
Deps
3
Size
4 kB
Vulns
0
Weekly
0
Stars
51.5K

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

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

export default 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.