Skip to content

Commit f52bd29

Browse files
committed
raven-js: fix sanitizeKeys type definition
1 parent da6767f commit f52bd29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/raven-js/typescript/raven.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ declare namespace Raven {
4949
fingerprint?: string[];
5050

5151
/** An array of strings representing keys that should be scrubbed from the payload sent to Sentry */
52-
sanitizeKeys?: string[];
52+
sanitizeKeys?: (RegExp | string)[];
5353

5454
/** A function which allows mutation of the data payload right before being sent to Sentry */
5555
dataCallback?: (data: any) => any;

0 commit comments

Comments
 (0)