Skip to content

Commit b8c396a

Browse files
author
Gery Hirschfeld
authored
Merge pull request #59 from w3tecch/fix/set-connection
fix: change setConnectionOptions argument to partial
2 parents cce10e6 + e8a1c80 commit b8c396a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typeorm-seeding",
3-
"version": "1.4.4",
3+
"version": "1.6.0",
44
"description": "🌱 A delightful way to seed test data into your database.",
55
"license": "MIT",
66
"author": "Gery Hirschfeld <[email protected]> (https://github.com/hirsch88)",

src/connection.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export const configureConnection = (option: ConfigureOption = {}) => {
4444
}
4545
}
4646

47-
export const setConnectionOptions = (options: TypeORMConnectionOptions): void => {
47+
export const setConnectionOptions = (options: Partial<TypeORMConnectionOptions>): void => {
4848
;(global as any)[KEY].overrideConnectionOptions = options
4949
}
5050

0 commit comments

Comments
 (0)