16 lines
454 B
TypeScript
16 lines
454 B
TypeScript
import { RequestHandler } from 'express';
|
|
import { PolyfillFeatureList } from 'polyfill-library';
|
|
export declare type PolyfillOptions = {
|
|
minify: boolean;
|
|
unknown: 'polyfill' | 'ignore';
|
|
features: PolyfillFeatureList;
|
|
excludes: string[];
|
|
uaString: string;
|
|
rum: boolean;
|
|
};
|
|
declare function getRouter(opts?: Partial<PolyfillOptions>): RequestHandler;
|
|
export declare const Polyfill: {
|
|
getRouter: typeof getRouter;
|
|
};
|
|
export {};
|