Skip to content

Commit

Permalink
fix: address is a function not a prop
Browse files Browse the repository at this point in the history
  • Loading branch information
Deivu committed Dec 22, 2024
1 parent 7e131c7 commit b13873e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/concurrency/ConcurrencyServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class ConcurrencyServer {
* Gets the address info assigned for this instance
*/
public get info(): AddressInfo {
return this.server.address as unknown as AddressInfo;
return this.server.address() as AddressInfo;
}

/**
Expand Down

0 comments on commit b13873e

Please sign in to comment.