0.0.5 • Published 6 months ago

@types/bristol-sentry v0.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
6 months ago

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.

0.0.3

7 months ago

0.0.2

8 months ago

0.0.5

6 months ago

0.0.4

6 months ago

0.0.1

3 years ago

0.0.0

5 years ago