Skip to content

Commit 2de4211

Browse files
committed
Simplify return value type
1 parent 10d59eb commit 2de4211

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/core/src/baseclient.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/* eslint-disable max-lines */
2+
import { SdkInfo } from '@sentry/types';
23
import {
34
Client,
45
ClientOptions,
@@ -224,7 +225,7 @@ export abstract class BaseClient<O extends ClientOptions> implements Client<O> {
224225
*
225226
* @return The metadata of the SDK
226227
*/
227-
public getSdkMetadata(): O['_metadata'] {
228+
public getSdkMetadata(): SdkInfo {
228229
return this._options._metadata;
229230
}
230231

0 commit comments

Comments
 (0)