fix(common): change requestOrigin type

fix(common): change requestOrigin type
This commit is contained in:
Spencer Kaiser
2026-02-04 20:48:36 -06:00
committed by GitHub
parent bec4329be4
commit 5058600ae3

View File

@@ -10,7 +10,7 @@ type StaticOrigin = boolean | string | RegExp | (string | RegExp)[];
* @publicApi * @publicApi
*/ */
export type CustomOrigin = ( export type CustomOrigin = (
requestOrigin: string, requestOrigin: string | undefined,
callback: (err: Error | null, origin?: StaticOrigin) => void, callback: (err: Error | null, origin?: StaticOrigin) => void,
) => void; ) => void;