diff --git a/src/main/ua-parser.d.ts b/src/main/ua-parser.d.ts index d1acf4b..088d2b0 100644 --- a/src/main/ua-parser.d.ts +++ b/src/main/ua-parser.d.ts @@ -3,7 +3,6 @@ // Definitions by: Faisal Salman import type { Headers } from "undici"; -import type { IncomingHttpHeaders } from "undici/types/header"; declare namespace UAParser { @@ -53,7 +52,7 @@ declare namespace UAParser { type RegexMap = ((RegExp | string | (string | RegExp | Function)[])[])[]; type UAParserProps = 'browser' | 'cpu' | 'device' | 'engine' | 'os'; type UAParserExt = Partial> | Partial>[]; - type UAParserHeaders = Record | IncomingHttpHeaders | Headers; + export type UAParserHeaders = Record | Headers; export function UAParser(uastring?: string, extensions?: UAParserExt, headers?: UAParserHeaders): IResult; export function UAParser(uastring?: string, headers?: UAParserHeaders): IResult;