Skip to content

Commit fa86704

Browse files
mydealforst
andauthored
Update packages/types/src/client.ts
Co-authored-by: Luca Forstner <[email protected]>
1 parent a71dea7 commit fa86704

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/types/src/client.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,8 @@ export interface Client<O extends ClientOptions = ClientOptions> {
111111
/**
112112
* Add an integration to the client.
113113
* This can be used to e.g. lazy load integrations.
114-
* In most cases, this should not be necessary, and you're better off just passing the integrations via `integrations: []` at initialization time.
115-
* However, if you find the need to conditionally load & add an integration, you can use `addIntegration` to do so.
116-
* */
114+
* In most cases, this should not be necessary, and you're better off just passing the integrations via `integrations: []` in `Sentry.init()`.
115+
*/
117116
addIntegration?(integration: Integration): void;
118117

119118
/** This is an internal function to setup all integrations that should run on the client */

0 commit comments

Comments
 (0)