typed-typings / npm-ramda

TypeScript's type definitions for Ramda
MIT License
384 stars 64 forks source link

R.comparator + R.lt #425

Closed ol-lo closed 5 years ago

ol-lo commented 5 years ago

Hello.

R.comparator(R.lt) — legal construction in js.

But TS tells:

Argument type lt_00 is not assignable to parameter type Comparator<PH, boolean>

How can it be solved?

ol-lo commented 5 years ago

Sorry for the disturbance. The error came from Webstorm ts inspector. Not from TS compiler.