-
Notifications
You must be signed in to change notification settings - Fork 30
Update account command to typescript - Closes #654 #666
Conversation
5470e11
to
6c15627
Compare
cf52e54
to
57079b8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor typo and question about new dep
package.json
Outdated
"chai": "4.1.2", | ||
"chai-as-promised": "7.1.1", | ||
"coveralls": "3.0.0", | ||
"globby": "8.0.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's this used for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was complaining from the oclif, but it seems like not related.
I will remove this
src/commands/account/create.ts
Outdated
const { flags: { number: numberStr } } = this.parse(CreateCommand); | ||
const number = parseInt(numberStr, 10); | ||
const numberOfAccount = parseInt(numberStr as string, 10); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prefer numberOfAccounts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
Description
Update base class and account commands to use typescript
Review checklist