From 90493661d30b27ab9c3d0284cdec5bd87a6ff53f Mon Sep 17 00:00:00 2001 From: tmm Date: Tue, 9 Jul 2024 18:30:40 +0000 Subject: [PATCH] chore: format --- packages/react/src/hooks/codegen/createUseReadContract.ts | 2 +- .../react/src/hooks/codegen/createUseWatchContractEvent.ts | 2 +- packages/react/src/hooks/codegen/createUseWriteContract.ts | 2 +- packages/react/src/hooks/useBlock.ts | 6 +++++- packages/react/src/hooks/useBlockNumber.ts | 6 +++++- packages/vue/src/composables/useBlockNumber.ts | 6 +++++- 6 files changed, 18 insertions(+), 6 deletions(-) diff --git a/packages/react/src/hooks/codegen/createUseReadContract.ts b/packages/react/src/hooks/codegen/createUseReadContract.ts index e1b2757fa7..1c5f509e58 100644 --- a/packages/react/src/hooks/codegen/createUseReadContract.ts +++ b/packages/react/src/hooks/codegen/createUseReadContract.ts @@ -7,8 +7,8 @@ import type { import type { ScopeKeyParameter, UnionCompute, - UnionStrictOmit, UnionExactPartial, + UnionStrictOmit, } from '@wagmi/core/internal' import type { ReadContractData, diff --git a/packages/react/src/hooks/codegen/createUseWatchContractEvent.ts b/packages/react/src/hooks/codegen/createUseWatchContractEvent.ts index a7b68ea960..e453b9442b 100644 --- a/packages/react/src/hooks/codegen/createUseWatchContractEvent.ts +++ b/packages/react/src/hooks/codegen/createUseWatchContractEvent.ts @@ -5,8 +5,8 @@ import type { } from '@wagmi/core' import type { UnionCompute, - UnionStrictOmit, UnionExactPartial, + UnionStrictOmit, } from '@wagmi/core/internal' import type { Abi, Address, ContractEventName } from 'viem' diff --git a/packages/react/src/hooks/codegen/createUseWriteContract.ts b/packages/react/src/hooks/codegen/createUseWriteContract.ts index fa7eecd7c3..2680074d23 100644 --- a/packages/react/src/hooks/codegen/createUseWriteContract.ts +++ b/packages/react/src/hooks/codegen/createUseWriteContract.ts @@ -6,8 +6,8 @@ import type { } from '@wagmi/core' import type { ChainIdParameter, - ConnectorParameter, Compute, + ConnectorParameter, SelectChains, UnionCompute, UnionStrictOmit, diff --git a/packages/react/src/hooks/useBlock.ts b/packages/react/src/hooks/useBlock.ts index 330a77aedc..1a16a5bd9e 100644 --- a/packages/react/src/hooks/useBlock.ts +++ b/packages/react/src/hooks/useBlock.ts @@ -2,7 +2,11 @@ import { useQueryClient } from '@tanstack/react-query' import type { Config, GetBlockErrorType, ResolvedRegister } from '@wagmi/core' -import type { Compute, UnionCompute, UnionStrictOmit } from '@wagmi/core/internal' +import type { + Compute, + UnionCompute, + UnionStrictOmit, +} from '@wagmi/core/internal' import { type GetBlockData, type GetBlockOptions, diff --git a/packages/react/src/hooks/useBlockNumber.ts b/packages/react/src/hooks/useBlockNumber.ts index 0c09f9c89b..f91d8466e3 100644 --- a/packages/react/src/hooks/useBlockNumber.ts +++ b/packages/react/src/hooks/useBlockNumber.ts @@ -6,7 +6,11 @@ import type { GetBlockNumberErrorType, ResolvedRegister, } from '@wagmi/core' -import type { Compute, UnionCompute, UnionStrictOmit } from '@wagmi/core/internal' +import type { + Compute, + UnionCompute, + UnionStrictOmit, +} from '@wagmi/core/internal' import { type GetBlockNumberData, type GetBlockNumberOptions, diff --git a/packages/vue/src/composables/useBlockNumber.ts b/packages/vue/src/composables/useBlockNumber.ts index 29daf92c99..aadf04fb25 100644 --- a/packages/vue/src/composables/useBlockNumber.ts +++ b/packages/vue/src/composables/useBlockNumber.ts @@ -4,7 +4,11 @@ import type { GetBlockNumberErrorType, ResolvedRegister, } from '@wagmi/core' -import type { Compute, UnionCompute, UnionStrictOmit } from '@wagmi/core/internal' +import type { + Compute, + UnionCompute, + UnionStrictOmit, +} from '@wagmi/core/internal' import { type GetBlockNumberData, type GetBlockNumberOptions,