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,5 +1,5 @@
const knexfile = require("../knexfile");
import * as knex from "knex";
import knex from "knex";
const db = knex(knexfile);