mirror of
https://github.com/knex/knex.git
synced 2025-06-26 22:00:25 +00:00
Import knex as type in TS seed template (#6094)
This commit is contained in:
parent
e9654ca387
commit
e685b70ff1
@ -1,4 +1,4 @@
|
|||||||
import { Knex } from "knex";
|
import type { Knex } from "knex";
|
||||||
|
|
||||||
export async function seed(knex: Knex): Promise<void> {
|
export async function seed(knex: Knex): Promise<void> {
|
||||||
// Deletes ALL existing entries
|
// Deletes ALL existing entries
|
||||||
|
Loading…
x
Reference in New Issue
Block a user