Skip to content

Commit 2bf8778

Browse files
committed
add comments
1 parent f601cb5 commit 2bf8778

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

packages/browser/src/client.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,14 @@ export interface BaseBrowserOptions {
2323
denyUrls?: Array<string | RegExp>;
2424
}
2525

26+
/**
27+
* Configuration options for the Sentry Browser SDK.
28+
* @see @sentry/types Options for more information.
29+
*/
2630
export interface BrowserOptions extends Options, BaseBrowserOptions {}
2731

2832
/**
29-
* Configuration options for the Sentry Browser SDK.
33+
* Configuration options for the Sentry Browser SDK Client class
3034
* @see BrowserClient for more information.
3135
*/
3236
export interface BrowserClientOptions extends ClientOptions, BaseBrowserOptions {}

packages/node/src/client.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { NodeClientOptions } from './types';
1010
/**
1111
* The Sentry Node SDK Client.
1212
*
13-
* @see NodeOptions for documentation on configuration options.
13+
* @see NodeClientOptions for documentation on configuration options.
1414
* @see SentryClient for usage documentation.
1515
*/
1616
export class NodeClient extends BaseClient<NodeClientOptions> {

packages/node/src/types.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,14 @@ export interface BaseNodeOptions {
1717
onFatalError?(error: Error): void;
1818
}
1919

20+
/**
21+
* Configuration options for the Sentry Node SDK
22+
* @see @sentry/types Options for more information.
23+
*/
2024
export interface NodeOptions extends Options, BaseNodeOptions {}
2125

2226
/**
23-
* Configuration options for the Sentry Node SDK.
27+
* Configuration options for the Sentry Node SDK Client class
2428
* @see NodeClient for more information.
2529
*/
2630
export interface NodeClientOptions extends ClientOptions, BaseNodeOptions {}

0 commit comments

Comments
 (0)