Browse Source

refactor: declaring `type` in hardhat.config.ts imports

Klaus Hott 3 năm trước cách đây
mục cha
commit
d5406e94fc
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      hardhat.config.ts

+ 2 - 2
hardhat.config.ts

@@ -1,7 +1,7 @@
 import "@nomicfoundation/hardhat-toolbox";
 import { config as dotenvConfig } from "dotenv";
-import { HardhatUserConfig } from "hardhat/config";
-import { NetworkUserConfig } from "hardhat/types";
+import type { HardhatUserConfig } from "hardhat/config";
+import type { NetworkUserConfig } from "hardhat/types";
 import { resolve } from "path";
 
 import "./tasks/accounts";