Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 981d3f1

Browse files
authored
Fix typos in heartbeat JSDoc (#1863)
1 parent 2fbcbe7 commit 981d3f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/activity/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ export function sleep(ms: Duration): Promise<void> {
453453
* attribute set to a {@link TimeoutFailure}, which has the last value of `details` available at
454454
* {@link TimeoutFailure.lastHeartbeatDetails}.
455455
*
456-
* This is a shortcut for `Context.current().heatbeat(ms)` (see {@link Context.heartbeat}).
456+
* This is a shortcut for `Context.current().heartbeat(details)` (see {@link Context.heartbeat}).
457457
*/
458458
export function heartbeat(details?: unknown): void {
459459
Context.current().heartbeat(details);

0 commit comments

Comments
 (0)