@types/repeat-string
TypeScript icon, indicating that this package has built-in type declarations

1.6.5 • Public • Published

Installation

npm install --save @types/repeat-string

Summary

This package contains type definitions for repeat-string (https://github.com/jonschlinkert/repeat-string).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/repeat-string.

index.d.ts

/**
 * Repeat the given `string` the specified `number` of times.
 */
declare function repeat(str: string, num?: number | string | null): string;

export = repeat;

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by .

/@types/repeat-string/

    Package Sidebar

    Install

    npm i @types/repeat-string

    Weekly Downloads

    12,691

    Version

    1.6.5

    License

    MIT

    Unpacked Size

    2.71 kB

    Total Files

    5

    Last publish

    Collaborators

    • types