mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-19 07:12:46 +00:00
* parse-prefer-header: Allow null or undefined input * parse-prefer-header: More explicit return value typing * parse-prefer-header: amend contributor list * parse-prefer-header: Support ReadonlyArray argument * parse-prefer-header: Add separate tests for Array and ReadonlyArray
9 lines
461 B
TypeScript
9 lines
461 B
TypeScript
// Type definitions for parse-prefer-header 1.0
|
|
// Project: https://github.com/ppaskaris/node-parse-prefer-header
|
|
// Definitions by: Vincenzo Chianese <https://github.com/XVincentX>, Marcell Toth <https://github.com/marcelltoth>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
declare function parsePreferHeader(preferHeader: string | ReadonlyArray<string> | null | undefined): { [key: string]: string | true };
|
|
|
|
export = parsePreferHeader;
|