hedera-json-rpc-relay
hedera-json-rpc-relay copied to clipboard
Add return types to subscriptionController file
Problem
Return types for some functions in the subscriptionController file are missing
Solution
Add return types, where needed
Alternatives
No response
Could you please give me a little more context on this issue?
@quiet-node
For example function below has no return type:
Should be like this:
Thats a good practice and it actually makes sense, since this is one of the reasons why typescript is used
Ah I see! Yes indeed that's a good practice!