Skip to content

Commit e2edcb6

Browse files
committed
Make it generic
1 parent a82b1f7 commit e2edcb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/server-runtime-client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ export interface ServerRuntimeClientOptions extends ClientOptions<BaseTransportO
2828
/**
2929
* The Sentry Server Runtime Client SDK.
3030
*/
31-
export class ServerRuntimeClient extends BaseClient<ServerRuntimeClientOptions> {
31+
export class ServerRuntimeClient<O extends ClientOptions & ServerRuntimeClientOptions> extends BaseClient<O> {
3232
/**
3333
* Creates a new Edge SDK instance.
3434
* @param options Configuration options for this SDK.
3535
*/
36-
public constructor(options: ServerRuntimeClientOptions) {
36+
public constructor(options: O) {
3737
// Server clients always support tracing
3838
addTracingExtensions();
3939

0 commit comments

Comments
 (0)