@types/format-link-header
TypeScript icon, indicating that this package has built-in type declarations

2.1.2 • Public • Published

Installation

npm install --save @types/format-link-header

Summary

This package contains type definitions for format-link-header (https://github.com/jonathansamines/format-link-header).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/format-link-header.

index.d.ts

declare namespace formatLinkHeader {
    interface Link {
        url: string;
        rel: string;
        [queryParam: string]: string;
    }

    interface Links {
        [rel: string]: Link;
    }
}

declare function formatLinkHeader(linkObject: formatLinkHeader.Links): string;
export = formatLinkHeader;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Chris Wilkinson.

/@types/format-link-header/

    Package Sidebar

    Install

    npm i @types/format-link-header

    Weekly Downloads

    1,466

    Version

    2.1.2

    License

    MIT

    Unpacked Size

    3.27 kB

    Total Files

    5

    Last publish

    Collaborators

    • types