From 94b150c6b8f89505a0946dcf4cdb7d86f8ef083c Mon Sep 17 00:00:00 2001 From: MomoTerra Date: Sat, 27 May 2017 18:07:12 -0700 Subject: [PATCH] Add allowSecretKey to interface Typescript is spitting out errors when I try to use allowSecretKey --- typescript/raven.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/typescript/raven.d.ts b/typescript/raven.d.ts index 3bdce3fddb4b..86c1d81dc7e2 100644 --- a/typescript/raven.d.ts +++ b/typescript/raven.d.ts @@ -61,6 +61,9 @@ interface RavenOptions { /** Override the default HTTP data transport handler. */ transport?: (options: RavenTransportOptions) => void; + + /** Allow use of private/secretKey. */ + allowSecretKey?: boolean; /** Enables/disables instrumentation of globals. */ instrument?: boolean | RavenInstrumentationOptions;