Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
13 lines
689 B
Plaintext
13 lines
689 B
Plaintext
import { Client } from '@sentry/core';
|
|
import { OpenTelemetryClient as OpenTelemetryClientInterface } from '../types';
|
|
/**
|
|
* Wrap an Client class with things we need for OpenTelemetry support.
|
|
* Make sure that the Client class passed in is non-abstract!
|
|
*
|
|
* Usage:
|
|
* const OpenTelemetryClient = getWrappedClientClass(NodeClient);
|
|
* const client = new OpenTelemetryClient(options);
|
|
*/
|
|
export declare function wrapClientClass<ClassConstructor extends new (...args: any[]) => Client, WrappedClassConstructor extends new (...args: any[]) => Client & OpenTelemetryClientInterface>(ClientClass: ClassConstructor): WrappedClassConstructor;
|
|
//# sourceMappingURL=client.d.ts.map
|