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

Fixed JSON type import #176

Merged
merged 2 commits into from
Dec 30, 2022
Merged

Fixed JSON type import #176

merged 2 commits into from
Dec 30, 2022

Conversation

piotrpospiech
Copy link
Contributor

Previously JSON wasn't imported as type only, and it led to errors when global JSON was called (for example, JSON.parse and JSON.stringify in compiler.ts)

Importing translations from files doesn't work without this change. It was broken here.

Additionally, I changed the JSON import in the common.ts. It doesn't change anything, but it is future-proof if we want to use global JSON in this file.

@piotrpospiech piotrpospiech merged commit fbfd134 into master Dec 30, 2022
@piotrpospiech piotrpospiech deleted the fix-import branch December 30, 2022 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants