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

Cesium.d.ts file is missing declarations of enums source files paths. #10725

Closed
piotr-galla opened this issue Aug 25, 2022 · 2 comments
Closed

Comments

@piotr-galla
Copy link

Possible solution to add missing enums source files paths is to change enum to const enum in regex below.

const regex = /^declare (function|class|namespace|enum) (.+)/gm;

@ggetz
Copy link
Contributor

ggetz commented Aug 29, 2022

@piotr-galla Unless I'm mistaken, this is already the regex that currently appears in gulpfile.cjs. Can you describe what has changed?

For context, here is how we initially handled enums for generating the TypeScript definition file.

@ggetz
Copy link
Contributor

ggetz commented Apr 12, 2023

I'm closing this issue due to inactivity. If you believe this is still an issue, please feel free to re-open. Thanks!

@ggetz ggetz closed this as completed Apr 12, 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

No branches or pull requests

2 participants