Skip to content

Commit 9373335

Browse files
committed
add deprecation warning
1 parent d03bba3 commit 9373335

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/core/src/types-hoist/browseroptions.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ export type BrowserClientReplayOptions = {
1818
};
1919

2020
export type BrowserClientProfilingOptions = {
21-
// todo: add deprecation warning for profilesSampleRate: @deprecated Use `profileSessionSampleRate` and `profileLifecycle` instead.
2221
/**
2322
* The sample rate for profiling
2423
* 1.0 will profile all transactions and 0 will profile none.
24+
*
25+
* @deprecated Use `profileSessionSampleRate` and `profileLifecycle` instead.
2526
*/
2627
profilesSampleRate?: number;
2728

0 commit comments

Comments
 (0)