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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add typescript #71

Merged
merged 5 commits into from Sep 10, 2022
Merged

Add typescript #71

merged 5 commits into from Sep 10, 2022

Conversation

AngyDev
Copy link
Contributor

@AngyDev AngyDev commented Sep 8, 2022

Related issue: #65

  • I added the typescript configuration and the typescript lint checks in the package.json script.
  • I added the index.d.ts file, but I'm not sure about some points.

For example, the Constants type, the HalfEdgeHelper class, I added the code but it is commented because I'm not sure which is the correct type of the halfEdge parameter.

Maybe it's all a mess 馃槄, please tell me what you think.

Copy link
Owner

@gkjohnson gkjohnson left a comment

Choose a reason for hiding this comment

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

This looks great! Thanks for adding it. Just a few comments to take a look at.

tsconfig.json Outdated Show resolved Hide resolved
.eslintrc.json Outdated Show resolved Hide resolved
src/index.d.ts Outdated Show resolved Hide resolved
src/index.d.ts Outdated Show resolved Hide resolved
@AngyDev
Copy link
Contributor Author

AngyDev commented Sep 9, 2022

The indentation issue was only about my formatter 馃槄
I did the changes that you suggested.
I hope it is correct

src/index.d.ts Outdated Show resolved Hide resolved
src/index.d.ts Outdated Show resolved Hide resolved
@gkjohnson
Copy link
Owner

gkjohnson commented Sep 10, 2022

Excellent, thank you again! This is a great addition.

If you're still interested in digging into the code a bit more adding some documentation for new classes #72 would be another good place to dive in - I can help provide insight on what some of these different classes do and why, as well. Of course no pressure, though, I appreciate the help!

@gkjohnson gkjohnson merged commit 87f5a5b into gkjohnson:main Sep 10, 2022
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.

None yet

2 participants