Skip to content

Commit

Permalink
minor typing fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
andykais committed Dec 20, 2023
1 parent 1d4db41 commit 5c4d8fa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions drivers/sqlite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ class Torm extends TormBase<sqlite3.Database> {
super()
}

// deno-lint-ignore require-await
public async init(options?: InitOptions) {
const driver = new sqlite3.Database(this.db_path, this.options)
// await driver.connect()
Expand Down
1 change: 0 additions & 1 deletion src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ type PickType<T, K extends AllKeys<T>> = T extends { [k in K]?: any }
? T[K]
: never;

// deno-lint-ignore ban-types
export type Merge<T extends object> = {
[k in AllKeys<T>]: PickType<T, k>;
}
Expand Down

0 comments on commit 5c4d8fa

Please sign in to comment.