Skip to content

Commit 2dadf39

Browse files
Update crates/bindings-typescript/src/lib/time_duration.ts
Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com> Signed-off-by: Noa <coolreader18@gmail.com>
1 parent b329151 commit 2dadf39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/bindings-typescript/src/lib/time_duration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export class TimeDuration {
4747
static fromMillis(millis: number): TimeDuration {
4848
return new TimeDuration(BigInt(millis) * TimeDuration.MICROS_PER_MILLIS);
4949
}
50-
50+
/** This outputs the same string format that we use in the host and in Rust modules */
5151
toString(): string {
5252
const micros = this.micros;
5353
const sign = micros < 0 ? '-' : '+';

0 commit comments

Comments
 (0)