@types/fill-range

  • Version 7.0.3
  • Published
  • 4.58 kB
  • No dependencies
  • MIT license

Install

npm i @types/fill-range
yarn add @types/fill-range
pnpm add @types/fill-range

Overview

TypeScript definitions for fill-range

Index

Functions

function fill

fill: {
<ValueType = string | number, TransformValueType = unknown>(
start: ValueType,
end?: ValueType | null,
step?: number,
options?: fill.Options<ValueType, TransformValueType>
): FilledArray<ValueType, TransformValueType>;
<ValueType = string | number, TransformValueType = unknown>(
start: ValueType,
end?: ValueType,
transformOrOptions?:
| fill.Options<ValueType, TransformValueType>
| ((value: ValueType) => TransformValueType)
): FilledArray<ValueType, TransformValueType>;
};

    Interfaces

    interface Options

    interface Options<ValueType, TransformValueType> {}

      property step

      step?: number;

        property strictRanges

        strictRanges?: boolean;

          property stringify

          stringify?: boolean;

            property toRegex

            toRegex?: boolean;

              property transform

              transform?: (value: ValueType) => TransformValueType;

                Package Files (1)

                Dependencies (0)

                No dependencies.

                Dev Dependencies (0)

                No dev dependencies.

                Peer Dependencies (0)

                No peer dependencies.

                Badge

                To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/fill-range.

                • Markdown
                  [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/fill-range)
                • HTML
                  <a href="https://www.jsdocs.io/package/@types/fill-range"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>