Files
api/app/core/notifiers/http.ts
T
2020-11-11 16:13:30 +10:30

21 lines
398 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);
}
}