Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added code documentation with Type Annotations to node-rcon (Node v17.3.0 - npm v8.3.2) #43

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

SweetieRick
Copy link

Trough the use of Type Annotation, I've added some code documentation for the node-rcon package. I've also cleaned up some functions to allow better code readability.
Below is a screenshot of the code documentation for the connect() function

Schermata 2022-04-17 alle 13 20 01

Addendum: The last commit broke compatibility with pre-ES2015 syntaxt. With further testing, I've build a final version that works as intended and works on the newest stable release of NodeJS (v17.3.0 - npm v8.3.2)

Copy link
Owner

@pushrax pushrax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

node-rcon.js Outdated Show resolved Hide resolved
node-rcon.js Show resolved Hide resolved
node-rcon.js Outdated Show resolved Hide resolved
Issue pushrax#1 and Issue pushrax#3 have been addressed and improved upon accordingly, waiting for `_sendSocket` issue to resolve
@SweetieRick
Copy link
Author

Alright, thanks for the review! I've closed all conversations except for Conversation 2; I will wait for further instructions in order to implement the changes in a way that fits everyone 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants