ngneat / falso

All the Fake Data for All Your Real Needs 🙂

Home Page:https://ngneat.github.io/falso/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fraction doesn't work on randAggregation

PumpedSardines opened this issue · comments

Is this a regression?

No

Description

When passing in the argument fraction to the function randAggregation nothing changes

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

Inputing

function Demo(props) {
  return <Preview source={() => randAggregation({ values: 5, fraction: 5 })}/>;
}

On the docs page will not provide fractions



### Please provide the environment you discovered this bug in

```true
On the docs page

Anything else?

No response

Do you want to create a pull request?

No

Is this still an issue? Should we close this one as I see a PR got merged?

@Parikshit-Hooda I think you are correct