Skip to content
#

random

Here are 2,991 public repositories matching this topic...

NetanelBasal
NetanelBasal commented Jan 11, 2022

Description

Currently, each function returns a single value. We should give the option to return an array of values.

Proposed solution

Create a proxy function and use it in each one of the function generators:

export function cat(options?: FakeOptions) {
  return fake(catsData, options)
}
// core.ts
export interface FakeOptions {
  size: number
}

e

Improve this page

Add a description, image, and links to the random topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the random topic, visit your repo's landing page and select "manage topics."

Learn more