diff --git a/packages/core/src/utils-hoist/time.ts b/packages/core/src/utils-hoist/time.ts index 198705f31f8f..931e91c7365e 100644 --- a/packages/core/src/utils-hoist/time.ts +++ b/packages/core/src/utils-hoist/time.ts @@ -19,8 +19,6 @@ interface Performance { /** * Returns a timestamp in seconds since the UNIX epoch using the Date API. - * - * TODO(v8): Return type should be rounded. */ export function dateTimestampInSeconds(): number { return Date.now() / ONE_SECOND_IN_MS; diff --git a/packages/opentelemetry/src/utils/contextData.ts b/packages/opentelemetry/src/utils/contextData.ts index 389520ef5293..468b377f9ccd 100644 --- a/packages/opentelemetry/src/utils/contextData.ts +++ b/packages/opentelemetry/src/utils/contextData.ts @@ -32,8 +32,7 @@ export function setContextOnScope(scope: Scope, context: Context): void { /** * Get the context related to a scope. - * TODO v8: Use this for the `trace` functions. - * */ + */ export function getContextFromScope(scope: Scope): Context | undefined { return (scope as { [SCOPE_CONTEXT_FIELD]?: Context })[SCOPE_CONTEXT_FIELD]; }