3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-10 20:35:02 +00:00

Allow JSON TS imports, fix errors from enabling esModuleInterop (required for JSON imports)

This commit is contained in:
Dragory 2018-07-12 02:58:34 +03:00
parent e6f296381e
commit 498ebe8939
8 changed files with 13 additions and 10 deletions

View file

@ -1,4 +1,4 @@
import * as knex from "../knex";
import knex from "../knex";
import Case from "../models/Case";
export class GuildCases {

View file

@ -1,5 +1,5 @@
import * as knex from "../knex";
import * as moment from "moment-timezone";
import knex from "../knex";
import moment from "moment-timezone";
import Mute from "../models/Mute";
export class GuildMutes {

View file

@ -1,4 +1,4 @@
import * as EventEmitter from "events";
import EventEmitter from "events";
import { LogType } from "./LogType";
// Use the same instance for the same guild, even if a new instance is created