Skip to content

Commit a59ae6e

Browse files
krzkaczorDeepDoge
andauthoredMar 7, 2022
Use 'import type' for types instead of 'import' (#636)
Co-authored-by: Shiba <44804845+DeepDoge@users.noreply.github.com>
1 parent d51ef63 commit a59ae6e

File tree

106 files changed

+518
-305
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+518
-305
lines changed
 

Diff for: ‎.changeset/lovely-pears-jam.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@typechain/hardhat': minor
3+
'@typechain/ethers-v5': minor
4+
'@typechain/web3-v1': minor
5+
'typechain': minor
6+
---
7+
8+
Prefer `import type` in generated files when possible

Diff for: ‎packages/hardhat-test/hardhat.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import '@typechain/hardhat'
33
import '@nomiclabs/hardhat-ethers'
44

5-
import { HardhatUserConfig } from 'hardhat/types'
5+
import type { HardhatUserConfig } from 'hardhat/types'
66

77
const config: HardhatUserConfig = {
88
solidity: '0.8.7',

0 commit comments

Comments
 (0)
Please sign in to comment.