Skip to content

Commit

Permalink
Fixing getDefaultConfig return type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
corbanbrook committed Aug 8, 2024
1 parent 4fa8737 commit 0db1a11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/kit/src/config/defaultConfig.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createConfig, http, type CreateConfigParameters } from 'wagmi'
import { createConfig, http, type CreateConfigParameters, type Config } from 'wagmi'

import { getDefaultChains } from './defaultChains'
import {
Expand Down Expand Up @@ -26,7 +26,7 @@ export const getDefaultConfig = ({
isDev,

...props
}: DefaultConfigProps) => {
}: DefaultConfigProps): Config => {
const chains = props.chains || getDefaultChains()
const transports = props.transports || Object.fromEntries(chains.map(chain => [chain.id, http()]))
const connectors =
Expand Down

0 comments on commit 0db1a11

Please sign in to comment.