mirror of
https://github.com/knex/knex.git
synced 2025-06-26 22:00:25 +00:00
Import knex as type in TS migration template (#5741)
Co-authored-by: Igor Savin <iselwin@gmail.com>
This commit is contained in:
parent
04642dab63
commit
af0e9c1650
@ -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> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user