fix(chat-wallet): use IChatClient type explicitly

This commit is contained in:
Ben Kremer 2022-12-07 17:36:50 +01:00
parent a7c220d50e
commit 21168541f2

View File

@ -1,8 +1,8 @@
import SignClient from '@walletconnect/sign-client' import SignClient from '@walletconnect/sign-client'
import { ChatClient } from '@walletconnect/chat-client' import { ChatClient, IChatClient } from '@walletconnect/chat-client'
export let signClient: SignClient export let signClient: SignClient
export let chatClient: ChatClient export let chatClient: IChatClient
export async function createSignClient() { export async function createSignClient() {
signClient = await SignClient.init({ signClient = await SignClient.init({