Property '__' does not exist on type 'Static'.
Closed this issue · 6 comments
minaseem commented
Not able to user placeholder R.__
It is throwing Property '__' does not exist on type 'Static'
ikatyang commented
Hi, it seems you're using types from DefinitelyTyped, see Usage for how to use our types.
minaseem commented
Thanks for the reply. Still I am not able to resolve my issue.
Below is my tsconfig
"compilerOptions": {
"moduleResolution": "node",
"module": "esnext",
"target": "es6",
"sourceMap": true,
"jsx": "react",
"jsxFactory": "h",
"baseUrl": ".",
"paths" : {
"ramda": [
"node_modules/@types/ramda/index"
]
}
}
In code, I am doing something like
import * as R from 'ramda';
const add2 = R.add(R.__, 2);
minaseem commented
Thanks. When can I expect a patch release?
ikatyang commented
It's already released -> f7dd77a, we automatically deploy to those branches from the travis build.
ikatyang commented
Though we don't change the version number, you probably need to force update or clean cache to avoid accidentally fetching the old version.