-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Using lodash method categories #11682
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
Comments
That is what |
@aluanhaddad Yes, exactly. But when you have this switch, the code would not compile correctly. |
This is unambiguously an import of the Regarding using |
@RyanCavanaugh Thanks for reply. Maybe I am confused in module standard definitions but expected behaviour for me is that turning on the 'allowSyntheticDefaultImports' switch should enable me to work with non-standard way of importing a module. But it doesn't work on lodash! |
TypeScript Version: nightly (2.1.0-dev.20161017)
I wanted to use lodash method categories. Here is the code I wrote:
Expected compiled result:
Actual compiled result:
Some notes:
import * as assign from "lodash/assign";
, it will work.The text was updated successfully, but these errors were encountered: