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

ugly fix for editor TS #344

Merged
merged 1 commit into from
Feb 28, 2023
Merged

ugly fix for editor TS #344

merged 1 commit into from
Feb 28, 2023

Conversation

elalish
Copy link
Owner

@elalish elalish commented Feb 28, 2023

Follow-on to #342, since that broke all the declarations in our manifoldcad.org editor. I couldn't find a decent solution yet, so I did the ugly but functional thing, which is to copy the old version of the declarations into the editor's .d.ts file and not import the ES6 one. I tried fixing it according to https://stackoverflow.com/a/66948535, but couldn't get it to work.

@elalish elalish self-assigned this Feb 28, 2023
@elalish
Copy link
Owner Author

elalish commented Feb 28, 2023

FYI @rafern I think your change is good, but since we're importing our module inside our worker.js, we need a way to "unpack" the module exports from the manifold.d.ts file, but I can't find a way to get Monaco to do that.

@elalish elalish mentioned this pull request Feb 28, 2023
@elalish elalish merged commit 95daa54 into master Feb 28, 2023
@elalish elalish deleted the fixEditorTS branch February 28, 2023 20:16
This was referenced Feb 28, 2023
cartesian-theatrics pushed a commit to SovereignShop/manifold that referenced this pull request Mar 11, 2024
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.

1 participant