Skip to content

💥✨ Improve typings for fc.constantFrom #747

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 12, 2020
Merged

Conversation

dubzzz
Copy link
Owner

@dubzzz dubzzz commented Jul 12, 2020

Merge of PR #641 to master


Why is this PR for?

It introduces a breaking change in the typings:
fc.constantFrom<T> should be updated into fc.constantFrom<T[]>

In a nutshell

✔️ New feature
✔️ Fix an issue
❌ Documentation improvement
❌ Other: please explain

(✔️: yes, ❌: no)

Potential impacts

Typings impact

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jul 12, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 39ed010:

Sandbox Source
Vanilla Configuration
dubzzz/fast-check: example Configuration

It introduces a breaking change in the typings:
`fc.constantFrom<T>` should be updated into `fc.constantFrom<T[]>`
@dubzzz dubzzz force-pushed the better-constant-from branch from 944c61e to 39ed010 Compare July 12, 2020 19:48
@coveralls
Copy link

coveralls commented Jul 12, 2020

Coverage Status

Coverage decreased (-0.06%) to 95.761% when pulling 39ed010 on better-constant-from into 84aa5a7 on master.

@dubzzz dubzzz merged commit ff377e5 into master Jul 12, 2020
@dubzzz dubzzz deleted the better-constant-from branch July 12, 2020 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants