Skip to content

Conversation

@joe-yeager
Copy link
Contributor

Description and Context

Port the fetch command to TS

options
{
assetVersion:
assetVersion !== undefined ? `${assetVersion}` : assetVersion,
Copy link
Contributor Author

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

@joe-yeager joe-yeager requested a review from brandenrodgers May 9, 2025 18:20
type FetchCommandArgs = {
src: string;
dest?: string;
derivedAccountId?: number;
Copy link
Contributor

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
brandenrodgers previously approved these changes May 9, 2025
Copy link
Contributor

@brandenrodgers brandenrodgers left a 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 👌

@joe-yeager joe-yeager merged commit 03113eb into main May 9, 2025
1 check passed
@joe-yeager joe-yeager deleted the jy/port-fetch branch May 9, 2025 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants