Import knex as type in TS migration template (#5741)

Co-authored-by: Igor Savin <iselwin@gmail.com>
This commit is contained in:
Oli 2023-11-28 00:16:50 +00:00 committed by GitHub
parent 04642dab63
commit af0e9c1650
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
import { Knex } from "knex";
import type { Knex } from "knex";
<% if (d.tableName) { %>
export async function up(knex: Knex): Promise<Knex.SchemaBuilder> {