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

Converted /src/user/invite.js from JS to TS. Closes #11 #81

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

hjoad
Copy link

@hjoad hjoad commented Aug 30, 2023

resolves #11

I translated the javascript file invite.js into typescript. I changed the import statements in order for them to be suitable for typescript. I created interfaces in order to specify types for every object and its properties used in the file. I used // eslint-disable-next-line @typescript-eslint/no-unused-vars for some imports that were not used in the translated file but I left them in since they were in the original invite.js file. I also used it on the prepareInvitation async function as it is not used, however I translated and kept this function in as it is in the original invite.js file.

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.

Converting /src/user/invite.js from JS to TS
2 participants