Commit 374ef64 1 parent cbd9aba commit 374ef64 Copy full SHA for 374ef64
File tree 4 files changed +4
-3
lines changed
v-next/hardhat/src/internal/cli
4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { findClosestHardhatConfig } from "../../helpers/config-loading.js";
4
4
5
5
import { createProject } from "./project-creation.js" ;
6
6
7
- export async function initHardhat ( ) {
7
+ export async function initHardhat ( ) : Promise < void > {
8
8
await throwIfCwdAlreadyInsideProject ( ) ;
9
9
10
10
if (
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ enum Action {
21
21
QUIT = "Quit" ,
22
22
}
23
23
24
- export async function createProject ( ) {
24
+ export async function createProject ( ) : Promise < void > {
25
25
printAsciiLogo ( ) ;
26
26
27
27
await printWelcomeMessage ( ) ;
Original file line number Diff line number Diff line change 1
1
// TODO: test that is testing the last version of solidity
2
2
const solidityVersion = "0.8.24" ;
3
3
4
- export const EMPTY_HARDHAT_CONFIG = `import type { HardhatUserConfig } from "@nomicfoundation/hardhat/config";
4
+ export const EMPTY_HARDHAT_CONFIG : string = `import type { HardhatUserConfig } from "@nomicfoundation/hardhat/config";
5
5
6
6
export default {
7
7
solidity: "${ solidityVersion } ",
Original file line number Diff line number Diff line change @@ -144,6 +144,7 @@ export async function parseHardhatSpecialArguments(
144
144
cliArguments : string [ ] ,
145
145
usedCliArguments : boolean [ ] ,
146
146
) : Promise < {
147
+ init : boolean ;
147
148
configPath : string | undefined ;
148
149
showStackTraces : boolean ;
149
150
help : boolean ;
You can’t perform that action at this time.
0 commit comments