Skip to content

Commit b98d341

Browse files
authored
chore: Cleanup unused comments (#14864)
Cleaning up some small comments.
1 parent 1d98867 commit b98d341

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

packages/core/src/utils-hoist/time.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ interface Performance {
1919

2020
/**
2121
* Returns a timestamp in seconds since the UNIX epoch using the Date API.
22-
*
23-
* TODO(v8): Return type should be rounded.
2422
*/
2523
export function dateTimestampInSeconds(): number {
2624
return Date.now() / ONE_SECOND_IN_MS;

packages/opentelemetry/src/utils/contextData.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ export function setContextOnScope(scope: Scope, context: Context): void {
3232

3333
/**
3434
* Get the context related to a scope.
35-
* TODO v8: Use this for the `trace` functions.
36-
* */
35+
*/
3736
export function getContextFromScope(scope: Scope): Context | undefined {
3837
return (scope as { [SCOPE_CONTEXT_FIELD]?: Context })[SCOPE_CONTEXT_FIELD];
3938
}

0 commit comments

Comments
 (0)