Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Update account command to typescript - Closes #654 #666

Merged
merged 10 commits into from
Dec 11, 2018

Conversation

shuse2
Copy link
Contributor

@shuse2 shuse2 commented Nov 28, 2018

Description

Update base class and account commands to use typescript

Review checklist

@shuse2 shuse2 self-assigned this Nov 28, 2018
@shuse2 shuse2 changed the base branch from 653-update_utils_to_typescript to 649-convert_to_typescript December 3, 2018 09:29
@shuse2 shuse2 force-pushed the 654-update_account_cmd_ts branch from 5470e11 to 6c15627 Compare December 3, 2018 14:01
@shuse2 shuse2 force-pushed the 654-update_account_cmd_ts branch from cf52e54 to 57079b8 Compare December 5, 2018 13:55
@shuse2 shuse2 changed the base branch from 649-convert_to_typescript to 676-update_lisk_elements December 5, 2018 15:40
@shuse2 shuse2 changed the base branch from 676-update_lisk_elements to 649-convert_to_typescript December 7, 2018 12:56
Copy link
Contributor

@mitsuaki-u mitsuaki-u left a 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",
Copy link
Contributor

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?

Copy link
Contributor Author

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

const { flags: { number: numberStr } } = this.parse(CreateCommand);
const number = parseInt(numberStr, 10);
const numberOfAccount = parseInt(numberStr as string, 10);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prefer numberOfAccounts

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

@shuse2 shuse2 merged commit b159891 into 649-convert_to_typescript Dec 11, 2018
@shuse2 shuse2 deleted the 654-update_account_cmd_ts branch December 13, 2018 13:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants