This commit is contained in:
Sebastian Seedorf
2020-11-16 12:40:47 +01:00
parent 2629d1e8e9
commit 936f93fb5d
12 changed files with 144 additions and 27 deletions

10
out/polyfill.d.ts vendored
View File

@@ -1,5 +1,13 @@
import { RequestHandler } from 'express';
import { PolyfillOptions } from 'polyfill-library';
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;