Installation
npm install --save @types/parse-link-header
Summary
This package contains type definitions for parse-link-header (https://github.com/thlorenz/parse-link-header).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-link-header.
index.d.ts
declare namespace parseLinkHeader {
interface Link {
url: string;
rel: string;
[queryParam: string]: string | undefined;
}
interface Links {
[rel: string]: Link | undefined;
}
}
declare function parseLinkHeader(linkHeader: string | null | undefined): parseLinkHeader.Links | null;
export = parseLinkHeader;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by Nick Zelei.