Skip to content

Commit

Permalink
fix: correct type
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipHarald committed Oct 23, 2023
1 parent 32d5d23 commit 4d98920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hardhat/deploy/99_generateTsAbis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function getContractNames(path: string) {
.map(dirent => dirent.name.split(".")[0]);
}

function getInheritedFunctions(sources: { [key: string]: any }, contractName: string) {
function getInheritedFunctions(sources: Record<string, any>, contractName: string) {
const inheritedFunctions = {} as Record<string, any>;
for (const sourcePath of Object.keys(sources)) {
const sourceName = sourcePath.split("/").pop()?.split(".sol")[0];
Expand Down

0 comments on commit 4d98920

Please sign in to comment.