Skip to content

FundMe.test.js #426

Jun 18, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote
getNamedAccounts: () => Promise<{
      [deployer: string]: Address;
    }>;

In above code, [deployer: string]: Address; simply means object can have any string as property , and The value of that property will be Address type, And the function returns promise of Object ..

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@JimmyG37
Comment options

@Muhammad-Abdullah012
Comment options

Answer selected by JimmyG37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants