Skip to main content

defineConfig

Callable

  • defineConfig<TChains, TTargetChainIds>(config: Config<TChains, TTargetChainIds>): Config<TChains, TTargetChainIds>

  • Type parameters

    • TChains: Readonly<Record<string, ChainConfig>>
    • TTargetChainIds: readonly Extract<keyof TChains, string>[]

    Parameters

    • config: Config<TChains, TTargetChainIds>

    Returns Config<TChains, TTargetChainIds>