Skip to content

Commit

Permalink
Merge pull request #67 from Netflix/jtsui-patch-1
Browse files Browse the repository at this point in the history
Update types for hrtime to match Node.process
  • Loading branch information
jtsui authored Nov 2, 2022
2 parents 138eb61 + 6462742 commit cb0d9e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/registry.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ declare class Registry {
stop(cb?: (e: Error, res: any) => void): void;
measurements(): Measurement[];
meters(): (Counter | DistributionSummary | Gauge | Timer)[];
hrtime(time: [number, number]): [number, number];
hrtime(time?: [number, number]): [number, number];
}

export = Registry;

0 comments on commit cb0d9e6

Please sign in to comment.