Skip to content

Commit 0354135

Browse files
committed
Fix the type, because recordOptions is falling back to Record<>!
1 parent a44589a commit 0354135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/replay/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ export interface ReplayIntegrationPrivacyOptions {
330330
/**
331331
* A callback function to customize how your text is masked.
332332
*/
333-
maskFn?: Pick<RecordingOptions, 'maskTextFn'>;
333+
maskFn?: (s: string) => string;
334334
}
335335

336336
// These are optional for ReplayPluginOptions because the plugin sets default values

0 commit comments

Comments
 (0)