typed-typings/npm-ramda

Property '__' does not exist on type 'Static'.

Closed this issue · 6 comments

Not able to user placeholder R.__

It is throwing Property '__' does not exist on type 'Static'

Hi, it seems you're using types from DefinitelyTyped, see Usage for how to use our types.

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);

There were some memory issues, I've fixed it in #403. It should work now.

image

Thanks. When can I expect a patch release?

It's already released -> f7dd77a, we automatically deploy to those branches from the travis build.

Though we don't change the version number, you probably need to force update or clean cache to avoid accidentally fetching the old version.