inital #3
This commit is contained in:
2
out/index.d.ts
vendored
2
out/index.d.ts
vendored
@@ -5,7 +5,7 @@ export { AuthProxy } from './auth-proxy';
|
||||
export { Resolvable, WaitForSync } from './helpers/resolvable';
|
||||
export { urlJoin } from './helpers/urlJoin';
|
||||
export { AutoReloader } from './auto-reload';
|
||||
export { Polyfill } from './polyfill';
|
||||
export { Polyfill, PolyfillOptions } from './polyfill';
|
||||
export { Session } from './session';
|
||||
export { Permissions } from './permissions';
|
||||
export { UserInfo } from './helpers/userinfo';
|
||||
|
||||
10
out/polyfill.d.ts
vendored
10
out/polyfill.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user