Skip to content

Commit

Permalink
Adds the appropriate return type for the method or function
Browse files Browse the repository at this point in the history
  • Loading branch information
deepsource-autofix[bot] committed Nov 2, 2021
1 parent d872daa commit 876db1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/router/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class RoutingServer {
// Intentionally empty
}

registerNewService(payloadJSON: ServerConnectionRecord) {
registerNewService(payloadJSON: ServerConnectionRecord): void {
const { service, host, port } = payloadJSON;

if (service && host && port) {
Expand Down

0 comments on commit 876db1e

Please sign in to comment.