Skip to content

Commit

Permalink
Add type to typescript knexfile (#4909)
Browse files Browse the repository at this point in the history
  • Loading branch information
tharrison4815 committed Dec 30, 2021
1 parent 8835d22 commit 4521040
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions 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: {
Expand Down Expand Up @@ -42,3 +43,5 @@ module.exports = {
}

};

module.exports = config;

0 comments on commit 4521040

Please sign in to comment.