Made polyfill route more flexible
This commit is contained in:
2
out/polyfill.d.ts
vendored
2
out/polyfill.d.ts
vendored
@@ -12,7 +12,7 @@ export declare type PolyfillOptions = {
|
||||
uaString: string;
|
||||
rum: boolean;
|
||||
};
|
||||
declare function getRouter(opts?: Partial<PolyfillOptions>): RequestHandler;
|
||||
declare function getRouter(fileToWatch: string, opts?: Partial<PolyfillOptions>): RequestHandler;
|
||||
export declare const Polyfill: {
|
||||
getRouter: typeof getRouter;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user