fp-ts icon indicating copy to clipboard operation
fp-ts copied to clipboard

ReadonlyArray Difference Prefer Non-Deprecated

Open JLambertazzo opened this issue 2 years ago • 0 comments

Prefer Non-Deprecated Function Signature for ReadonlyArray Difference

Currently there two function signatures for the difference function in the ReadonlyArray module and one is deprecated. Typescript seems to give preference to the deprecated signature as shown here: Screenshot_20230124_083241

This PR changes the order of the signatures, prioritizing the non-deprecated signature: Screenshot_20230124_083322

Before submitting a pull request, please make sure the following is done:

  • Fork the repository and create your branch from master.
  • Run npm install in the repository root.
  • If you've fixed a bug or added code that should be tested, add tests!
  • Ensure the test suite passes (npm test).

Note. If you've fixed a bug please link the related issue or, if missing, open an issue before sending a PR.

#1804

Note. If you find a typo in the documentation, make sure to modify the corresponding source (docs are generated).

Note. If you want to send a PR related to [email protected] please create your branch from 1.x

JLambertazzo avatar Jan 25 '23 04:01 JLambertazzo