Package + Version
Version:
Description
The function "parseRequest" from "sentry-javascript/packages/node/src/handlers.ts" supports for options -> request a boolean or string array. But the "requestHandler" function in the same file, only supports boolean for options -> request. Is there a reason why the "requestHandler" doesn't include the string array in the typings ?
export function parseRequest( event: Event, req: { [key: string]: any; }, options?: { request?: boolean | string[]; },
export function requestHandler(options?: { request?: boolean; }): (req: http.IncomingMessage, res: http.ServerResponse, next: (error?: any) => void) => void {