Skip to content

Commit fcfe067

Browse files
committed
Don't re-export things unnecessarily.
1 parent 6f84b69 commit fcfe067

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

v-next/hardhat/src/config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { findClosestHardhatConfig } from "./internal/helpers/config-loading.js";
22

3-
// Note: We export the builtin plugins' types here, so that any type extension
3+
// Note: We import the builtin plugins' types here, so that any type extension
44
// they may have gets loaded.
5-
export type * from "./internal/builtin-plugins/index.js";
5+
import "./internal/builtin-plugins/index.js";
66

77
export type * from "@nomicfoundation/hardhat-core/config";
88
export * from "@nomicfoundation/hardhat-core/config";

v-next/hardhat/src/internal/builtin-plugins/hardhat-foo/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { HardhatPlugin } from "@nomicfoundation/hardhat-core/types/plugins"
22

33
import { globalFlag, task } from "@nomicfoundation/hardhat-core/config";
44

5-
export type * from "./type-extensions.js";
5+
import "./type-extensions.js";
66

77
export default {
88
id: "hardhat-foo",

0 commit comments

Comments
 (0)