Allow JSON TS imports, fix errors from enabling esModuleInterop (required for JSON imports)
This commit is contained in:
parent
e6f296381e
commit
498ebe8939
8 changed files with 13 additions and 10 deletions
|
@ -1,5 +1,5 @@
|
|||
const knexfile = require("../knexfile");
|
||||
import * as knex from "knex";
|
||||
import knex from "knex";
|
||||
|
||||
const db = knex(knexfile);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue