-
Notifications
You must be signed in to change notification settings - Fork 71
chore: Port the fetch command to ts #1495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| options | ||
| { | ||
| assetVersion: | ||
| assetVersion !== undefined ? `${assetVersion}` : assetVersion, |
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.
This is type: number and optional and it needs to be converted to string | undefined
commands/fetch.ts
Outdated
| type FetchCommandArgs = { | ||
| src: string; | ||
| dest?: string; | ||
| derivedAccountId?: number; |
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.
Nit, but don't need derivedAccountId in here anymore since it's defined in CommonArgs
brandenrodgers
left a comment
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.
Just a nit about a duplicate type definition, but otherwise lgtm 👌
Description and Context
Port the fetch command to TS