Make dsn parameter in Raven.config() optional (#23020)

This commit is contained in:
Stepan Zastupov
2018-01-18 12:39:47 -08:00
committed by Wesley Wigham
parent 19d6cbd330
commit 4bb0793fd9
+1 -1
View File
@@ -10,7 +10,7 @@ import { IncomingMessage, ServerResponse } from 'http';
import { EventEmitter } from 'events';
export const version: string;
export function config(dsn: string | false, options?: ConstructorOptions): Client;
export function config(dsn?: string | false, options?: ConstructorOptions): Client;
export function wrap<T>(func: () => T): () => T;
export function wrap<T>(options: any, func: () => T): () => T;
export function interceptErr(ctx: any): Client;