Skip to content

Commit 809fb0d

Browse files
authored
Port is of type number but examples uses string
The port field in the client object is of type `number` but in the examples it is showcased as a string ``` port: "5432" ```
1 parent 85f0aec commit 809fb0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ async function main() {
1818
user: "user",
1919
database: "test",
2020
hostname: "localhost",
21-
port: "5432"
21+
port: 5432
2222
});
2323
await client.connect();
2424
const result = await client.query("SELECT * FROM people;");
@@ -85,7 +85,7 @@ let config;
8585

8686
config = {
8787
hostname: "localhost",
88-
port: "5432",
88+
port: 5432,
8989
user: "user",
9090
database: "test",
9191
applicationName: "my_custom_app"

0 commit comments

Comments
 (0)