create-web3-dapp icon indicating copy to clipboard operation
create-web3-dapp copied to clipboard

False Type declaration

Open Ankush263 opened this issue 2 years ago • 0 comments

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:

  1. Go to helper/core/workflows/standardWorkflow
  2. Go to the line 87 -> const template: Number | String = await prompts
  3. See error

Screenshots If applicable, add screenshots to help explain your problem. Screenshot (86)

Additional context Add any other context about the problem here. Solution const template: Number | String = await prompts -> const template: number | string = await prompts

Ankush263 avatar Jun 19 '23 16:06 Ankush263