Skip to content

Commit

Permalink
Merge pull request #1968 from cloudflare/arobinson/hyperdrive-port-type
Browse files Browse the repository at this point in the history
Fix the type of the Hyperdrive binding's port field
  • Loading branch information
a-robinson authored Apr 5, 2024
2 parents 0f3b6ab + c0b9a48 commit 2ea29ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/defines/hyperdrive.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ interface Hyperdrive {
/*
* The port that must be paired the the host field when connecting.
*/
readonly port: string;
readonly port: number;
/*
* The username to use when authenticating to your database via Hyperdrive.
* Unlike the host and password, this will be the same every time
Expand Down

0 comments on commit 2ea29ab

Please sign in to comment.