[DEPRECATED] This project has been merged into types/npm-ramda.
TypeScript's type definitions for Ramda
This project uses the same MAJOR.MINOR version as Ramda.
- support placeholder (
R.__
) - support partial import (
import * as map from "ramda/src/map"
) - support selectable overloads ( use 0-param:
R.map<"11", "list">()
)
- support snapshot testing ( via
dts-jest
, see./tests/*.ts
) - support functions auto-currying ( via
dts-element
, see./templates/*.d.ts
)
The following command install the types from the dist
branch, which is the newest version and contains selectable
and placeholder
types.
# using npm
npm install --save-dev ikatyang/types-ramda#dist
# using yarn
yarn add --dev ikatyang/types-ramda#dist
NOTE: You can also choose which release version to install using #<branch/commit/tag>
, for example:
yarn add --dev ikatyang/types-ramda#v0.24.0-dist
yarn add --dev ikatyang/types-ramda#v0.24.0-dist-simple
yarn add --dev ikatyang/types-ramda#v0.24.0-dist-selectable
yarn add --dev ikatyang/types-ramda#v0.24.0-dist-placeholder
source version: v0.24.1
- 246/246 done
- 246/246 done
- 242/246 done
- composeK
- pipeK
- sequence
- traverse
# linting
yarn run lint
# migrate jsdoc (ramda-repo -> ./templates/*.md)
yarn run jsdoc
# build types (./templates/*.ts -> ./ramda/dist/**/*.d.ts)
yarn run build
# build types with watching mode
yarn run build-watch
# test utils
yarn run test-utils
# actual test
yarn run test-actual
# snapshot test for types
yarn run test
# snapshot test for types with watching mode
yarn run test -- --watch
# NOTE: test files
# unit tests -> ./tests/*.ts
# actual tests -> ./tests/ramda-tests.ts
# integration tests -> ./tests/ramda-tests.ts
# remap snapshots (./tests/__snapshots__/*.ts.snap -> ./snapshots/*.ts)
yarn run remap
# remap snapshots with watching mode
yarn run remap-watch
# check if snapshot is outdated
yarn run remap-check
- npm-ramda: TypeScript's type definitions for Ramda from @types
MIT © Ika