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

1.1.3 • Public • Published

Installation

npm install --save @types/common-prefix

Summary

This package contains type definitions for common-prefix (https://github.com/hughsk/common-prefix).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/common-prefix.

index.d.ts

declare function common(strings: readonly string[]): string;

export = common;

Additional Details

  • Last updated: Mon, 20 Nov 2023 23:36:24 GMT
  • Dependencies: none

Credits

These definitions were written by Sean Marvi Oliver Genabe.

Versions

Current Tags

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.3
    300
  • 1.1.2
    0
  • 1.1.1
    0
  • 1.1.0
    150

Package Sidebar

Install

npm i @types/common-prefix

Weekly Downloads

450

Version

1.1.3

License

MIT

Unpacked Size

2.75 kB

Total Files

5

Last publish

Collaborators

  • types