From 415c34061d3df5c2ba355734c77cc52ce86f3104 Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Mon, 26 Feb 2024 11:04:14 +0100 Subject: [PATCH] Export `OptionalDataWithOptionalCause` type (#135) --- src/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 9a28c4a..f27e10d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,8 @@ export { JsonRpcError, EthereumProviderError } from './classes'; export { serializeCause, serializeError, getMessageFromCode } from './utils'; -export type { DataWithOptionalCause } from './utils'; +export type { + DataWithOptionalCause, + OptionalDataWithOptionalCause, +} from './utils'; export { rpcErrors, providerErrors } from './errors'; export { errorCodes } from './error-constants';