Files
api/app/core/notifiers/http.ts
T
Alexis Tyler 4e1b0bd72c chore: lint
2021-01-28 15:45:14 +10:30

21 lines
397 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;
constructor(options: Options) {
super(options);
}
}