Skip to content

Commit

Permalink
fix: update ts types for config.locals (#920)
Browse files Browse the repository at this point in the history
  • Loading branch information
waltjones authored Jan 28, 2021
1 parent 7970e8c commit 064d90a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ declare namespace Rollbar {
includeItemsInTelemetry?: boolean;
inspectAnonymousErrors?: boolean;
itemsPerMinute?: number;
locals?: boolean;
locals?: LocalsOptions;
logLevel?: Level;
maxItems?: number;
maxTelemetryEvents?: number;
Expand Down Expand Up @@ -135,6 +135,12 @@ declare namespace Rollbar {
export interface ExpressNextFunction {
(err?: any): void;
}
export type LocalsOptions = boolean | LocalsSettings;
export interface LocalsSettings {
depth?: number;
maxProperties?: number;
maxArray?: number;
}

class Telemeter {}
class Instrumenter {}
Expand Down

0 comments on commit 064d90a

Please sign in to comment.