From fd09f08f39473c8bdb9eb0bfff3a4946ec8d814b Mon Sep 17 00:00:00 2001 From: Ian Macalinao Date: Sun, 24 Mar 2024 15:50:27 +0800 Subject: [PATCH] fix typs again --- packages/use-solana/src/adapters/solana.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/use-solana/src/adapters/solana.ts b/packages/use-solana/src/adapters/solana.ts index 5b178593..7756c567 100644 --- a/packages/use-solana/src/adapters/solana.ts +++ b/packages/use-solana/src/adapters/solana.ts @@ -10,6 +10,7 @@ import { import type { EventEmitter, SignerWalletAdapter, + SupportedTransactionVersions, WalletAdapterEvents, } from "@solana/wallet-adapter-base"; import { BaseSignerWalletAdapter } from "@solana/wallet-adapter-base"; @@ -34,7 +35,7 @@ type SolanaWalletAdapterInterface = Omit< | keyof EventEmitter > & EventEmitter & { - supportedTransactionVersions: ReadonlySet<"legacy"> | null; + supportedTransactionVersions: SupportedTransactionVersions; signTransaction: (transaction: T) => Promise; signAllTransactions: ( transactions: T[],