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

Switch to Typescript #10

Merged
merged 2 commits into from
Aug 29, 2023
Merged

Conversation

ruediste
Copy link
Contributor

My Anycubic Photon had a hard time with the generated .pws file, so I wanted to add support for .photon. I had a hard time understanding the code and thought some types would greatly help.

I also dropped the checked in libraries and switched to npm packages.

Oh, and I also changed the anti-alias count from 0 to 1. UVTools had a division by zero before...

What do you think?

@ruediste ruediste mentioned this pull request Jul 30, 2023
@Andrew-Dickinson
Copy link
Owner

Oh wow, thanks for the contribution. This is a lot of work. It may take me a bit to review this but I'm absolutely open to making the switch to TS

@ruediste
Copy link
Contributor Author

ruediste commented Aug 5, 2023

Great, nice to hear. Looking forward to your feedback.

Copy link
Owner

@Andrew-Dickinson Andrew-Dickinson left a comment

Choose a reason for hiding this comment

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

Mostly looks good! We still have some .js files I see, is that going to cause a problem? (I've never worked in a hybrid environment)

src/renderer/stackup-renderer.ts Show resolved Hide resolved
src/renderer/pcbAPI.ts Outdated Show resolved Hide resolved
src/ui/file_select_sidebar.tsx Outdated Show resolved Hide resolved
@ruediste
Copy link
Contributor Author

ruediste commented Aug 6, 2023

Mostly looks good! We still have some .js files I see, is that going to cause a problem? (I've never worked in a hybrid environment)

No, it should not cause any issues. But you don't have typing for the .js files...

@ruediste
Copy link
Contributor Author

Any news on this? Waiting for me?

@Andrew-Dickinson
Copy link
Owner

Andrew-Dickinson commented Aug 18, 2023 via email

@Andrew-Dickinson Andrew-Dickinson merged commit a34d4c5 into Andrew-Dickinson:master Aug 29, 2023
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.

2 participants