mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2026-01-11 12:45:49 +00:00
Export modules in typescript
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const _importDynamic = new Function('modulePath', 'return import(modulePath)');
|
||||
const fetch = (...args) => _importDynamic('node-fetch').then(({default: fetch}) => fetch(...args));
|
||||
|
||||
module.exports = class Stations extends Array {
|
||||
export default class Stations extends Array {
|
||||
constructor() {
|
||||
super();
|
||||
this.logger = require("../funcs/logger.js");
|
||||
|
||||
Reference in New Issue
Block a user