diff --git a/lib/migrations/migrate/stub/knexfile-ts.stub b/lib/migrations/migrate/stub/knexfile-ts.stub index 42d283f93b..76618108f6 100644 --- a/lib/migrations/migrate/stub/knexfile-ts.stub +++ b/lib/migrations/migrate/stub/knexfile-ts.stub @@ -1,7 +1,8 @@ -// Update with your config settings. +import type { Knex } from "knex"; -module.exports = { +// Update with your config settings. +const config: { [key: string]: Knex.Config } = { development: { client: "sqlite3", connection: { @@ -42,3 +43,5 @@ module.exports = { } }; + +module.exports = config;