fp-ts
fp-ts copied to clipboard
ReadonlyArray Difference Prefer Non-Deprecated
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:
This PR changes the order of the signatures, prioritizing the non-deprecated signature:
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