We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01c2e6f commit bc0d98bCopy full SHA for bc0d98b
v-next/hardhat/src/internal/helpers/config-loading.ts
@@ -1,3 +1,5 @@
1
+import type { HardhatUserConfig } from "@ignored/hardhat-vnext-core/config";
2
+
3
import { isAbsolute, resolve } from "node:path";
4
import { pathToFileURL } from "node:url";
5
@@ -23,7 +25,7 @@ export async function findClosestHardhatConfig(): Promise<string> {
23
25
24
26
export async function importUserConfig(
27
configPath: string,
-): Promise<Record<string | symbol, unknown>> {
28
+): Promise<HardhatUserConfig> {
29
const normalizedPath = isAbsolute(configPath)
30
? configPath
31
: resolve(process.cwd(), configPath);
0 commit comments