gcanti / fp-ts

Functional programming in TypeScript
https://gcanti.github.io/fp-ts/
MIT License
10.78k stars 502 forks source link

fix: declare that of returns arrays of length 1 #1901

Open levino opened 1 year ago

levino commented 1 year ago

Sorry for not creating an issue first, but the test I added failed before and I fixed it, so it is pretty obvious what this is about. I ran npm test locally and it passed, I think. I committed the updated docs as well.