9 lines
276 B
TypeScript
9 lines
276 B
TypeScript
/// <reference types="node" />
|
|
import type { IncomingHttpHeaders } from 'node:http';
|
|
/**
|
|
* Removes the flight headers from the request.
|
|
*
|
|
* @param req the request to strip the headers from
|
|
*/
|
|
export declare function stripFlightHeaders(headers: IncomingHttpHeaders): void;
|