0.0.5 • Published 6 months ago
@types/bristol-sentry v0.0.5
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
// Type definitions for bristol-sentry 0.0
// Project: https://github.com/jeffijoe/bristol-sentry#readme
// Definitions by: Elliott Campbell <https://github.com/ElliottCampbellJHA>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
import * as raven from 'raven';
interface FormattedLog {
message: string;
extra: ReadonlyArray<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: ReadonlyArray<any>): FormattedLog;
}
Additional Details
- Last updated: Thu, 08 Jul 2021 00:35:40 GMT
- Dependencies: @types/raven
- Global values: none
Credits
These definitions were written by Elliott Campbell.