Files
api/app/core/notifiers/http.ts
Alexis Tyler 855ba2fc75 chore: lint
2021-01-29 12:03:26 +10:30

22 lines
468 B
TypeScript

/*!
* Copyright 2019-2020 Lime Technology Inc. All rights reserved.
* Written by: Alexis Tyler
*/
import fetch from 'node-fetch';
import { Notifier, NotifierOptions } from './notifier';
export interface Options extends NotifierOptions {}
/**
* HTTP notifier.
*/
export class HttpNotifier extends Notifier {
readonly $http = fetch;
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
constructor(options: Options) {
super(options);
}
}