UNPKG
@hsaadawy/ngx-chat
Version:
latest (0.12.16)
0.12.16
0.12.15
0.12.14
0.12.13
0.12.12
0.12.11
0.12.10
0.12.9
0.12.8
0.12.7
0.12.6
0.12.5
0.12.4
0.12.3
0.12.2
0.12.1
github.com/hsaadawy/ngx-chat
hsaadawy/ngx-chat
@hsaadawy/ngx-chat
/
lib
/
core
/
recipient.d.ts
6 lines
(5 loc)
•
253 B
TypeScript
View Raw
1
2
3
4
5
6
import
{
JID
}
from
'@xmpp/jid'
;
import
{
Room
}
from
'../services/adapters/xmpp/plugins/multi-user-chat.plugin'
;
import
{
Contact
}
from
'./contact'
;
export
declare
type
Recipient
=
Contact
|
Room
;
export
declare
function
isJid
(
o
:
any
): o is
JID
;