create-web3-dapp
create-web3-dapp copied to clipboard
False Type declaration
Describe the bug
A clear and concise description of what the bug is.
In helper/core/workflows/standardWorkflow at the line 87, these errors occurs
Don't use Number as a type. Use number instead & Don't use String as a type. Use string instead
To Reproduce Steps to reproduce the behavior:
- Go to
helper/core/workflows/standardWorkflow - Go to the line 87 ->
const template: Number | String = await prompts - See error
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Solution
const template: Number | String = await prompts -> const template: number | string = await prompts