@types/bristol-sentry
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/bristol-sentry

Weekly Downloads

0

Version

0.0.5

License

MIT

Unpacked Size

3.62 kB

Total Files

5

Last publish

Collaborators

  • types