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

chore: set allowSyntheticDefaultImport to false to improve compatibility #57

Merged
merged 1 commit into from
Aug 23, 2021

Conversation

PLhery
Copy link
Owner

@PLhery PLhery commented Aug 20, 2021

Fixes #56

If we don't explicitely write import * as fs from 'fs' instead of import fs from 'fs', our typescript definition files won't have this form neither.

Because some projects may have allowSyntheticDefaultImport=false, let's set it to false to improve compatibility

@PLhery PLhery requested a review from alkihis August 20, 2021 17:33
@PLhery PLhery force-pushed the chore/set-allowSyntheticDefaultImport-to-false branch from 6988d71 to 0dcc666 Compare August 20, 2021 17:37
@alkihis alkihis merged commit f4b4681 into master Aug 23, 2021
@alkihis alkihis deleted the chore/set-allowSyntheticDefaultImport-to-false branch August 23, 2021 08:19
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.

Module 'fs' has no default export
2 participants