-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Typings for individual ES modules #2674
Comments
Ah, I updated my |
@osdiab I use the babel-plugin-ramda and it works wonders in my ES6 project. Not sure about the TypeScript but I see no reason why it wouldn't work. EDIT: This means that (if you don't already) you have to use both TS and Babel to compile your code, but it's not a big change, iirc. |
Yeah, like I mentioned, |
Given #2355 , I looked into importing the functions directly, but unfortunately there are only TypeScript typings for importing the
"ramda"
module directly rather than specific modules like"ramda/es/pick"
or"ramda/es/isNil"
. For my own project I'm just writing quick wrappers like so:But presumably we should be able to just autogenerate all of these in
DefinitelyTyped
. If I get the time to work on it I'll take a look at doing that but until then if someone else wants to do it feel free.The text was updated successfully, but these errors were encountered: