Installation
npm install --save @types/bristol-sentry
Summary
This package contains type definitions for bristol-sentry (https://github.com/jeffijoe/bristol-sentry#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bristol-sentry.
index.d.ts
import * as raven from "raven";
interface FormattedLog {
message: string;
extra: readonly object[];
error?: Error | undefined;
}
interface SentryConfig {
client?: {} | raven.Client | undefined;
}
export = makeSentryTarget;
declare function makeSentryTarget(config: SentryConfig): () => void;
declare namespace makeSentryTarget {
function formatter(opts: object, severity: string, date: Date, elems: readonly any[]): FormattedLog;
}
Additional Details
- Last updated: Mon, 20 Nov 2023 23:36:23 GMT
- Dependencies: @types/raven
Credits
These definitions were written by Elliott Campbell.