diff --git a/typescript/raven-tests.ts b/typescript/raven-tests.ts index 9268e5200727..6238428f8320 100644 --- a/typescript/raven-tests.ts +++ b/typescript/raven-tests.ts @@ -29,7 +29,8 @@ var options: Raven.RavenOptions = { }, breadcrumbCallback: function (data) { return data - } + }, + allowDuplicates: true }; Raven.config('https://public@sentry.io/1', options).install(); diff --git a/typescript/raven.d.ts b/typescript/raven.d.ts index 222a873a5186..a45cdc55dc57 100644 --- a/typescript/raven.d.ts +++ b/typescript/raven.d.ts @@ -87,6 +87,11 @@ declare module Raven { * A sampling rate to apply to events. A value of 0.0 will send no events, and a value of 1.0 will send all events (default). */ sampleRate?: number; + + /** + * Should raven send duplicate errors. A value of false will not send duplicate errors (default). + */ + allowDuplicates?: boolean; } interface RavenInstrumentationOptions {