Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@types/parse-link-header) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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
// Type definitions for parse-link-header 2.0
// Project: https://github.com/thlorenz/parse-link-header
// Definitions by: Nick Zelei <https://github.com/nickzelei>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
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: Sat, 04 Feb 2023 03:32:35 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Nick Zelei.