Skip to content

Conversation

@owenlin0
Copy link
Contributor

@owenlin0 owenlin0 commented Dec 2, 2025

These will be more ergonomic to work with in Typescript.

@owenlin0 owenlin0 marked this pull request as ready for review December 2, 2025 17:20
pub struct CommandExecParams {
pub command: Vec<String>,
#[ts(type = "number | null")]
pub timeout_ms: Option<u64>,
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should use i64

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sounds good, let me update

Copy link
Contributor Author

Choose a reason for hiding this comment

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

why, out of curiosity?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Having a negative timeout is invalid: I don't think we should change this one.

@owenlin0 owenlin0 force-pushed the owen/add_ts_number_annotations branch from 8d82a73 to e714413 Compare December 2, 2025 17:42
@owenlin0 owenlin0 enabled auto-merge (squash) December 2, 2025 17:44
@owenlin0 owenlin0 merged commit c2f8c4e into main Dec 2, 2025
45 of 47 checks passed
@owenlin0 owenlin0 deleted the owen/add_ts_number_annotations branch December 2, 2025 18:09
@github-actions github-actions bot locked and limited conversation to collaborators Dec 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants