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

Fix: Ensure invalid typescript properties are surrounded with quotes #76

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

starter-dev
Copy link
Contributor

@starter-dev starter-dev commented Jul 8, 2024

If the property is not a valid javascript identifier, a typescript error occurs.

Before:
before

After:
after

Changes

  • Added ensurePropertyIsValid Function: Transforms invalid javascript property to valid one by surrounding it with quotes.

@tcampbPPU
Copy link
Member

Thanks for the contributions!

@tcampbPPU tcampbPPU merged commit 88c99b9 into fumeapp:master Jul 8, 2024
10 checks passed
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