hardhat
Version:
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
27 lines • 926 B
TypeScript
export type * from "./internal/core/config.js";
export * from "./internal/core/config.js";
export type { HardhatUserConfig } from "./types/config.js";
import "./internal/builtin-plugins/index.js";
import type { HardhatUserConfig } from "./types/config.js";
/**
* Defines a Hardhat user config.
*
* This function is normally expected to be used in your `hardhat.config.ts` file
* like this:
*
* ```js
* import { defineConfig } from "hardhat/config";
*
* export default defineConfig({
* // Your config ...
* });
* ```
* @note If using `--isolatedDeclarations`, you should import the type
* `HardhatUserConfig` from `hardhat/config` instead of relying on the return
* type of this function.
*
* @param config Your config. See {@link https://hardhat.org/config}.
* @returns The config.
*/
export declare function defineConfig(config: HardhatUserConfig): HardhatUserConfig;
//# sourceMappingURL=config.d.ts.map