import { HttpProxyMiddleware } from './http-proxy-middleware' ; import { Filter , Options } from './types' ; export function createProxyMiddleware ( context , options ? ) { const { middleware } = new HttpProxyMiddleware ( context , options ) ; return middleware ; } export * from './handlers' ; export { Filter , Options , RequestHandler } from './types' ;