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

Forced requirement for allowSyntheticDefaultImports #4959

Open
andriy-kudrya-eleks opened this issue Jul 8, 2024 · 0 comments
Open

Forced requirement for allowSyntheticDefaultImports #4959

andriy-kudrya-eleks opened this issue Jul 8, 2024 · 0 comments

Comments

@andriy-kudrya-eleks
Copy link

Is your feature request related to a problem? Please describe.
Following import in date picker sources forces to alter tsconfig in a dependent project to use allowSyntheticDefaultImports: true as well

import React from "react";

Describe the solution you'd like
Removing allowSyntheticDefaultImports: true tsconfig option for react-datepicker and updating imports to namespace imports
well

import * as React from "react";

Describe alternatives you've considered
Currently, I've enabled allowSyntheticDefaultImports: true for dependent project

@andriy-kudrya-eleks andriy-kudrya-eleks changed the title Remove requirement for allowSyntheticDefaultImports Forced requirement for allowSyntheticDefaultImports Jul 8, 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

No branches or pull requests

1 participant